0 votes

I've been experimenting with the contact reporter on a rigid body (3d), which is very useful but I've run into a problem.

I want to get the normals the rigid body is colliding with, however my world is all one large static body. The contact reporter only reports once for each physics body, no matter if it is touching multiple faces on that one body.

For example, if a move the rigid body into a corner, it is touching 2 walls as well as the floor, however i can only run code on one of these contacts each frame.

Does anyone have a solution to this problem? (splitting my world up is not an option)

in Engine by (374 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories