![]() If you need any help with scripting make sure to make a thread in the Scripting Support category. I won’t go into too much detail as this is the Building Support category, and I’m probably making numerous mistakes and missing out on things as it’s 1 AM here. Wheel RPM is calculated through, simply, wheel.RotVelocity:Dot() ![]() The transmission part calculates the RPM through wheel RPM, current gear ratio and final drive ratio. The main drive script checks for certain conditions in a Heartbeat connection. If the applied throttle is not zero, the ActuatorType is set to Motor. To stick to basics, if the applied throttle is equal to zero, I set each powered HingeConstraint's ActuatorType to Hinge. I wrote a little script to weld together the car’s body, and weld the axles to the body. If you want a simple car, I’d stick with HingeConstraints. ![]() The wheels and axles are connected through HingeConstraints (Working on an update and shifting to CylindricalConstraints alongside a suspension system, which is pretty much done). What I did was make an axle for each wheel. On the topic of the car I 've been working on a chassis lately. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |