Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
When firing Raycast is it possible to get impact position?
« previous
next »
Print
Pages: [
1
]
Author
Topic: When firing Raycast is it possible to get impact position? (Read 1090 times)
Honorabl3
January 21, 2015, 01:03:02 AM
When I use ContainerRayCast(%start, %end, %mask, %player), can I get the position of impact/detection? If not, I'll just create a projectile and get the collision point.
Ad Bot
Advertisement
Xalos
January 21, 2015, 01:16:46 AM
%object = firstWord(%ray);
%position = getWords(%ray, 1, 3);
%normal = getWords(%ray, 4, 6);
Honorabl3
January 21, 2015, 01:56:04 AM
Quote from: Xalos on January 21, 2015, 01:16:46 AM
%object = firstWord(%ray);
%position = getWords(%ray, 1, 3);
%normal = getWords(%ray, 4, 6);
Thanks so much! I was using firstWord() on the return string without thinking.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
When firing Raycast is it possible to get impact position?