RayPick normals

Everything related to 3D programming
Olby
Enthusiast
Enthusiast
Posts: 461
Joined: Mon Jan 12, 2009 10:33 am
Contact:

RayPick normals

Post by Olby »

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,
Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)