Question by
Mattinton · Aug 24, 2017 at 10:41 PM ·
collisionrigidbodymeshoncollisionenteroncollisionstay
OnCollisionEnter returning incorrect collision points
Hi,
I am using OnCollisionEnter to get the points where my object intersects with a plane. Specifically my island intersecting with a 'water' plane. I then use those coordinates to create a mesh that gives a froth effect. This works perfectly when the island has no rotation! But when I give it x or z rotation. OnCollisionEnter fails to provide the correct collision points! What can I do to fix this?
Rotation in the y axis is fine.
Rotation in x or z axis not fine Thanks
capture1.png
(199.1 kB)
capture2.png
(202.9 kB)
Comment
Your answer
Follow this Question
Related Questions
How to check fo rigidbody collision? 0 Answers
Collider seems bigger than it is 0 Answers
rigidbody.Addforce stacking? 2 Answers
CS1525 Unexpected symbol '=', HELP!!! 2 Answers