Local Pick or TForm Pick?
Blitz3D Forums/Blitz3D Beginners Area/Local Pick or TForm Pick?
| ||
I'd like to retrieve the local pick variable of an entity after it's been transformed and rotated, is there any way to do this? |
| ||
Welcome To Blitz3D! |
| ||
Yes, you can use TFormPoint to do that:CameraPick camera, mousex(), mousey() ;transform from global (->0) to local (in this case->ent) TFormPoint PickedX(), PickedY(), PickedZ(), 0, ent |
| ||
Omg so brilliant! You're a life savor you don't even know =D |