- Home /
Collider is not working...
Hi, I have done with drawing path using line renderer as per drag, and after that cube have to follow that path. It's done, but if i take two cubes, both are moving as per own path, but both are not colliding with each other, i am not able to detect collision, to follow path i have used vectrosity . I have also tried using raycasting but not working. Please help me, i just want to draw path, and as per that object has to move with collision detection. Thank You.
It might help if you showed us a screenshot. There could be any number of reasons two colliders are not colliding (layers, collision matrix, kinematic rigidbodies etc.)
I have checked, but isTrigger is not enabled on any of them,
Collider is not working after cube has started following path using vectrosity.
Answer by bilo-lwabona · Sep 14, 2014 at 07:33 PM
Check if the collider's have the field "isTrigger" enabled in the inspector. This should be disabled.
Triggers can be used for firing events (e.g. when a player enters a room) and will therefore prevent a physical collision.
Answer by sarthakshah · Sep 15, 2014 at 08:34 AM
yes its done by adding rigidbody in both object. Thanks.
Your answer
Follow this Question
Related Questions
Trouble in following path of line renderer... 1 Answer
What is the best way to draw a border around a viewport? 1 Answer
Lighting up Linerenderers 1 Answer
Cloud recognition in Vuforia 0 Answers
How to draw a line in unity3d 3 Answers