RayPick normals
Posted: Thu Oct 11, 2012 11:59 am
Hi,
I have been exploring the new PB500b4 3D commands and am not able to find a way to retrieve ray cast normal data after RayPick() is called. So far we can only read collision location with PickX/Y/Z() but thats not enough. For example, to create bullet holes we need to retrieve face normal data to align bullet hole sprite accordingly (make it "stick" to the wall). Hopefully we can get this into PB soon, I really want to work on my game projects within PB.
Thanks,
I have been exploring the new PB500b4 3D commands and am not able to find a way to retrieve ray cast normal data after RayPick() is called. So far we can only read collision location with PickX/Y/Z() but thats not enough. For example, to create bullet holes we need to retrieve face normal data to align bullet hole sprite accordingly (make it "stick" to the wall). Hopefully we can get this into PB soon, I really want to work on my game projects within PB.
Thanks,