I’m designing a little transport system for part of my game that includes a train. I want players to be able to ride it, and walk around in it. However, this is not possible with a system that uses Tweening/CFrame interpolation. How would I go about making this system that uses the physics engine instead?
An idea I had was using this CFrame/Tweening system on the wheel bases, and having two AlignPosition’s attached to the car that follow the wheel bases.
FYI, the track includes numerous bends and turns. Simply moving the train linearly back and forth is not enough. The model also doesn’t “fit” with the track on a physical level, so I can’t simply drive the wheels.
This is basically what I said in my post, attaching the car to the wheel bases and moving those with CFrame. Thanks though. I think I’ll go with that system.