#rear cam steering lines

1 messages · Page 1 of 1 (latest)

full steppe
#

im hella bad at math and idk how i would go about to make these white moving lines (A) for a car rear driving cam

cyan heath
#

because tbh its gonna be really hard if your just using A and D to drive because that doesnt really account for much precision

full steppe
#

i could use the actual wheel rotation

cyan heath
#

so first you would need to know how far the front and back wheels are, because thats gonna tell you how much it turns in relations to the wheel

#

then i would try something like this

  • convert the steering angle to radians
  • divide the distance between the wheels by the tan of above ^
full steppe
#

okay

#

how would i make this curved line?

#

ik there is path2d but im too lost to calculate that

cyan heath
#

you could just make the parts

#

so you start at the wheel

#

and then you calculate each parts pos, rotation based on calculations you can do

#

you could have a set number of parts you want to make

#

and then find out each parts pos, rotation i guess

full steppe
#

yea but how xd

#

@cyan heath

tight questBOT
#

studio** You are now Level 4! **studio

cyan heath
full steppe
#

do you know what exactly i gotta calculate?

#

i mean

#

this could probably be the easiest part

#

because thhats how the archimedes plugin works i think