Hello everyone, I am a quite recent user of Irrlicht still discovering its potential =)
I am currently try to understand why stair climbing in collision detection tutorial is buggy (ie. you get stuck on stairs at random moments when going up) while I'm not able to reproduce the same problem in the Irrlicht tech demo.
Is it using some other technique? Or maybe there's a method that easily fixes it?
Thanks!
Stair climbing in collision tutorial vs Irrlicht tech demo
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
It's an artifact of the ellipse/triangle checks used in the collision animator. It's not meant to be production quality, just a quick and dirty tool for simulating a basic physical presence. As always, investigation and better solutions would be very welcome.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
The demo source is available under Examples/Demo. Knock yourself out.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Demo.cpp creates a slightly thinner ellipse: (25,50,25) vs (30,50,30) in example 07.
It's just maths, it's not that the animator bears you any personal grudge.
It's just maths, it's not that the animator bears you any personal grudge.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
doh... I obviously neglected to check in the Examples. Thanks for pointing it out.BlindSide wrote:The demo source is available under Examples/Demo. Knock yourself out.
I actually tried different sizes of an ellipse, but it didn't seem to help too much.rogerborg wrote:Demo.cpp creates a slightly thinner ellipse: (25,50,25) vs (30,50,30) in example 07.
What do you mean by a "mesh problem"?skumar wrote:Another main point is the MESH ...
Make sure there are no problems with your mesh...
i dont know the exact reason but i also met this 'stuck' due to bad modelling of a level....
I was not able to correctly figure out the problems that can interfere with the collision on the mesh. Some times in 3dsmax when we do edit poly modelling one or two polygons may have a slightly altered normal. In such cases i have seen that the collison get stuck there....
Make a level with simple flat floor and a very slowly ascending stairs and test...
Make a level with simple flat floor and a very slowly ascending stairs and test...
skumar