Attachments and Constraints Help

Hi!

I’m trying to build a tank in which the turret at the top can freely spin around. I’m not entirely sure but I think this can be achieved through constraints and attachments. I was wondering what is going wrong? I’ve decided to build a HingeConstraint between the turret and the chassis but when I play the game the whole tank just disappears for some reason.

Any help would be appreciated,
Thanks,

  • Tom :slight_smile:

Are your Attachments aligned?
When you select each Attachment it should have 2 arrows, yellow and orange, to show the alignment. Both sets of arrows in each Attachment should be pointing the same direction when the Model is built.

Also, what is your HingeConstraint ActuatorType set to? In a case like this it should be Motor.
Your AngularVelocity is set in radians/second so don’t set it using degrees/second or you’ll get spinning really fast. Too fast and it may just launch itself.
Keep the Density and size of the Parts the Attachments are on pretty equal, or compensate by increasing the Density of the smaller Part. If the Parts are too small then HingeConstraints tend to jump around.

When you Test it, try just using Play and see what happens. That way you won’t get stuck with the Character loading and you can see what actually happens to the tank.