How do I pin a rigidbody. For instance I have a platform that I wish to act like a seesaw when a character lands on it. But how do I have it float above the ground.
Rigid body joint, 6dof joint in constraints.
Another neat type of platform is to make it’s mass like 1000 and then use
always----and-----motion force, Z 9.8*1000
This will make a “sinking” platform,
Make sure that the platform is a rigidbody, set it’s origin to the place which you want it to be pinned in, go to physics panel > transform locks > lock x y and z, aand go to rotation locks > lock the 2 axis which you don’t want the platform to be rotated on.
Alternatively you can use rigid body joint constraint, but it uses more resources and doesn’t react well to heavy objects (springs away).
Thank you I’ll definitely remember that.
Simple. Many thanks.
Anyway of restriction the angle of rotation, I’ve tried an Always >> And >> Contraint - orientation Y axis - max angle 45* But didnt work.
Bump^^. Ive looked around as much as I can, I cant find a way of the restriction the rotation of my platform.
I have tried-
the constraint actuator - didn’t seem to have any effect,
limit rotation constraint - again, no effect,
Also my platforms are passing through the floor. They don’t seem to have any collision apart from with the main object.
Use constraints tab, rigid body joint and pin it to a empty. Use 6dof and define the locks.Not in the constraints actuator.
Thanks a bunch, I’ll give it a go.
That worked great, for anyone else, the setting I used was Angle Y min to -25, max 25
Thanks BluePrintRandom
