Page 1 of 1

Collision problem [solved]

PostPosted: Sun May 08, 2022 9:31 am
by Maroonroon
I added a white face over the right side of the picture to show you where is the problem ("BarrierCollider" object); there's a collision here but it shouldn't...
collision_problem.png
Collision problem
collision_problem.png (53.59 KiB) Viewed 17614 times

Re: Collision problem

PostPosted: Sun May 08, 2022 11:09 am
by Semjay
I’m not a Blender user but the principle should be the same. Have you applied a “hull” collision which will encompass the whole object? What you need is an “exact” collision which will bound the exact shape rather than the area it inhabits.

Re: Collision problem

PostPosted: Sun May 08, 2022 11:14 am
by Maroonroon
Thanks for your message Semjay.
This object is the collider (left side of the picture), I applied a Triangle Mesh collision, but in the game it seems to be a Convex Hull collision (right side of the picture).

Edit:
The white face is where the floor is, with a floor collider; there are holes in the floor and in its collider, but in the game I don't fall through the holes.
If I export the Age without this object, it's OK, I fall through the holes; but if I export with this object, it isn't OK, I don't fall through the holes.

Re: Collision problem

PostPosted: Sun May 08, 2022 3:33 pm
by Maroonroon
I found the solution : I added 24 faces (so, 32 in total) to the collider.
collision_problem_-_solution.png
collision_problem_-_solution
collision_problem_-_solution.png (28.76 KiB) Viewed 17582 times

collision_problem(StiltHouse01-sequence_prefix_281)_-_solution.zip
collision_problem(StiltHouse01-sequence_prefix_281)_-_solution
(458.25 KiB) Downloaded 2017 times

Re: Collision problem [solved]

PostPosted: Mon May 09, 2022 8:54 am
by melvin
Triangle mesh will create a box around some objects. Did you also make it a wire mesh & add the collision property...
string type collider

Re: Collision problem [solved]

PostPosted: Mon May 09, 2022 10:31 am
by Maroonroon
Thanks for your message melvin.
Yes I did (Korman 0.13).
But like I said, it's solved. :)