#direction of my car not right

1 messages · Page 1 of 1 (latest)

supple drum
#

Hi, sorry to bother you. I have a problem with my car it starts in a direction to the right yet the hinge of my steering has TargetAngle initialized to 0. I do not understand how it happens. Here is the .rbxm. and when I want to change direction with the impossible keys it won't move.

thorn venture
# supple drum

your attachments are facing the wrong way. and your script isn't acting on the steering hinge. turning on show constraints helps. and the whole thing isn't precision built: your attachments aren't centered, not exactly a problem here but it can be if attachments aren't aligned perfectly. i suggest using grid snapping when building so you can get precise builds. goodluck salute

supple drum
thorn venture
#

attachments have a facing direction like parts, turning that on will show you the direction

supple drum
# thorn venture

ok! I've just finished re-aligning everything perfectly! now all I need to do is put the attachments in the right direction like you told me. However, I did the show constraints to see them, but I didn't really understand why they're in the right place?

wraith thicketBOT
#

studio** You are now Level 2! **studio

supple drum
thorn venture
supple drum
#

(speaking only for the orientation)

#

it looks good to me, but just by changing it, my script doesn't work anymore. i can't move forward.

thorn venture
#

if u hover over the attachment with select it should show. i can't do everything for you bruh, you got yourself this far, i believe you can get yourself the rest of the way. just keep playing with it Thumbs

supple drum
supple drum
supple drum
#

@thorn venture Can you please give me a hint?

thorn venture
#

ye i told u the steering attachments aren't facing the right direction

supple drum
#

I tried all the directions

#

I've tried in front of the odds but I don't get it. If you can help me please

#

I'm not waiting for a solution I'm here to learn

thorn venture
#

is this your first roblox car?

supple drum
thorn venture
# supple drum Yess

i couldn't find many good resources for specifically this problem, but this seems good enough https://www.youtube.com/watch?v=Rx0v2aYAF2Q

Hello! Thanks for taking your time and viewing my video! In this one I go over 9 of all ROBLOX constraints! Just a note, there will be 2 parts to this video as for sake of time, though the other one will probably be shorter since there are only 6 left! A video on the new Universal Constraint will also be coming soon after these two as well, sin...

▶ Play video
supple drum
thorn venture
#

????? what part are you getting confused?

supple drum
#

I don't know which way to place the arrows, I've tried everything, one forwards, one backwards. There is no video on youtube to help me understand how to place them in my specific case. There are only tutorials on doors. I've tried everything but I can't get the result you've shown in the video.

thorn venture
#

make them point the same

#

one of your attachments is yaw 180 the other is 0

supple drum
#

like this? I've tried in 2 directions with the 2 arrows in all possible cases but when I launch the game it looks like the direction is to the left if I do this.

supple drum
#

@thorn venture help me pls when u are not busy pls

thorn venture
#

make both yaw 180

supple drum
wraith thicketBOT
#

studio** You are now Level 3! **studio

supple drum
#

@thorn venture

#

wdym "yaw"

#

iam not english

thorn venture
thorn venture
supple drum
supple drum
thorn venture
#

i changed the script lol

supple drum
#

oh ok

#

targetAngle i need to put it a 30 or 0 ?

thorn venture
supple drum
#

it means the angle that i want

thorn venture
#

thats the problem u had before ;p

supple drum
#

y

#

i need to start at 0 for the targetAngle

thorn venture
#

anyway yea just change your script so it acts on the steering hinge instead of the wheels

supple drum
#

and -30 and +30

thorn venture
#

you presumably wrote it so you should understand what it does Thumbs

#

if you used ai then well not much i can help you with Thumbs

supple drum
#

dw i use ai just for syntaxe iam trying rn to do it myself

#

sorry for my english

#

thanks for help

#

let me cook

supple drum
#

i think i did it!

#

i need to improve the values and logic. but i have a question. the fact that the car jumps around a bit. is this from the script to be corrected or something else?

thorn venture
# supple drum i need to improve the values and logic. but i have a question. the fact that the...

car physics are rather involved, i can't help you with that for free. maybe look up a-chassis https://devforum.roblox.com/t/how-to-setup-a-car-on-a-chassis/1136167

supple drum