My requirement is pretty clear. I want to create game object which does not move from its place based on any force apply to it.
There are other objects which affects this game object and apply some force to it but I want to freeze this game object in any situation.
Right now I set mass of this object to 10 and apply constraints on all positions and rotations values. As a result it is jerking some what now become static and it is building object so jerky building look too much poor.
I want to create behavior such that static body in other game engine like cocos2d, andengine, libgdx etc.
I hope you understand my question so please give some helpful information.
Or just drop the RigidBody entirely and leave only a Collider. Colliders are strongly static unless you move the gameObject [best, tag the gameObject a static as well]
davidc
2
Hey Mate, try turning on Is Kinematic on the rigid body. See more info here
use this
rigidbody.isKinematic=true.//this will help you to freeze the game object and u can control it by script
But when I set isKinematic to true , they can coincide which I don’t want