- Home /
Child object clipping through other objects
So, I have a flashlight model attached to my main camera and it has a capsule collider, but it will clip through other objects. help?
EDIT: The object actually collides, but it doesn't stop the movement of the camera. The camera is moving with FPSWalker, by the way.
I suggest you implement your own FPSWalker using rigidbody.move, setting the colliders properly should fix your problem.
Answer by sparkzbarca · Aug 06, 2013 at 05:19 PM
only using like rigidbody.addforce and stuff collides as it were
transform.position = ....
thats not moving that's teleporting
collsions dont stop you because rigidbodies moving collide, transforms teleporting go where they please.
How would you go about fixing this? What other method should be used?
Your answer
Follow this Question
Related Questions
Mesh Collidor Faster 1 Answer
Generate colliders on a prefab 0 Answers
accessing all of a colliders parents children 1 Answer
How to get info from child triggers? 1 Answer
Have child ignore parent's tag? 1 Answer