jPCT-AE - a 3d engine for Android > Bugs

Billboarding and collision detection

(1/2) > >>

Thomas.:
Billboarding is not working if object is used for collision detection.

EgonOlsen:
It's actually the other way round...you can't really do collision detection properly on bill boarded objects. That's by design. I'm not sure what you mean with the opposite...do you have some test case for this?

Thomas.:
Sorry, I badly formulated sentence. And are you planning fix collision detection on billboarded objects?

EgonOlsen:
Actually no. I don't consider this to be a bug. Billboarding happens in camera space but collision detection happens in world space (well, actually it happens in ellipsoid space, but that's another story...) and given the position in world space, it works correct even on bill boarded objects....it's just different from what one might expect.
I had the same issue in my RPG with picking of the flowers. I'm using a collision mesh instead.

Thomas.:
The plane with billboarding is collision mesh... I thought that this will not be supported, so I implemented billboarding myself and it works exactly as I want :)

Navigation

[0] Message Index

[#] Next page

Go to full version