Hi,
I am try to get the co-ordinates and HPR of a CollisionEntry.
I know how to get its position with getSurfacePoint however I have no luck in getting the HPR.
Here is an example of codes.
for i in range(self.cHandler.getNumEntries()):
entry = self.cHandler.getEntry(i)
if intoNode == "Plane":
if fromNode == "White":
list = self.getModelDimensions(self.ball)
newZ = colEntry.getSurfacePoint(render).getZ()
self.ballRoot.setZ(newZ+list[2]/2.0 + 0.025)
Help require ASAP.
Thank you. =)