How to move an object able to collide through something outside of physics?
I'm working on an ancient warfare simulator and i want to program shields. Shields have to collide with the enemies, which are kinematic since they are moved by theNavMeshAgents, and they have to be moved by something outside of physics in order to keep them in front of the soldier that holds them . I've made thin parallelepipeds and added to them a rigidbody component and a code that always keeps them in front of the soldier that holds them through rigidbody.position, but very frequently the shield start to vibrate, regardless if the rigidbody is set to kinematic, UseGravity, both or none of them. Can somebody help me to do this shields?
Sorry for my poor english.
Your answer
Follow this Question
Related Questions
AddRigidBody Script Error 1 Answer
Why Does A Rigidbody Affect Enemy Health? 1 Answer
Freeze rotation of just the box collider component 0 Answers
How to fix this problem? 1 Answer