High guys, i am having some trouble with the collision system.
I modeled a Crate (a pretty simple one) and then I set 5 collision pollygons around it to create a cube (there is no need to create a collider in the bottom, hence 5).
I applied a 4x scale on the crate and the collision polygon received it too (could place the colliders with getTightBounds and some simple math).
All was going fine until I tried to land my character on the box (the character have a collision ray on him with no scale applied).
The collision system detects the collision far beyond it is actually happening, therefore the character ends up passing the box and the program does not process the collision.
My question is:
Is there anyway to get the scale of the node I attached the collider into?
I tryed:
entry = self.heightQueue.getEntry(0)
entry.getIntoNodePath().getScale()
with no luck.
Thanks in advance.