Collision problem [solved]

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Collision problem [solved]

Postby Maroonroon » Sun May 08, 2022 9:31 am

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 15368 times
Last edited by Maroonroon on Sun May 08, 2022 6:42 pm, edited 4 times in total.
User avatar
Maroonroon
 
Posts: 219
Joined: Sun Jul 06, 2014 5:03 pm
Location: France

Re: Collision problem

Postby Semjay » Sun May 08, 2022 11:09 am

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.
User avatar
Semjay
 
Posts: 60
Joined: Tue Nov 03, 2015 6:52 am
Location: UK

Re: Collision problem

Postby Maroonroon » Sun May 08, 2022 11:14 am

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.
User avatar
Maroonroon
 
Posts: 219
Joined: Sun Jul 06, 2014 5:03 pm
Location: France

Re: Collision problem

Postby Maroonroon » Sun May 08, 2022 3:33 pm

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 15336 times

collision_problem(StiltHouse01-sequence_prefix_281)_-_solution.zip
collision_problem(StiltHouse01-sequence_prefix_281)_-_solution
(458.25 KiB) Downloaded 1934 times
User avatar
Maroonroon
 
Posts: 219
Joined: Sun Jul 06, 2014 5:03 pm
Location: France

Re: Collision problem [solved]

Postby melvin » Mon May 09, 2022 8:54 am

Triangle mesh will create a box around some objects. Did you also make it a wire mesh & add the collision property...
string type collider
melvin
 
Posts: 43
Joined: Sun May 05, 2013 12:23 pm

Re: Collision problem [solved]

Postby Maroonroon » Mon May 09, 2022 10:31 am

Thanks for your message melvin.
Yes I did (Korman 0.13).
But like I said, it's solved. :)
User avatar
Maroonroon
 
Posts: 219
Joined: Sun Jul 06, 2014 5:03 pm
Location: France


Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests

cron