Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: kyy921 on April 27, 2012, 06:54:27 AM
-
I want measure a point to the mouse pick place, I try to use distance event to do it, but distance can only measure object to object, how i can measure the distance from an vector to another??
-
and~~ when i use mouse pick the surface's normal, how i can create an object follow the normal? I try to pick the suface's normal and set it to an instance's rot, but it seem not so correct
-
I hope it can be generate like this
-
but it just like this
-
the rot value is picked, but I dont think its the right number.
......
help..... T T
-
For your measure : One solution is to use the action Vector Substract and then Get Vector Length :). I'm not a pro, so here is my little idea :)
I can't help you at all for the rest
-
thank you! I will try
-
Hi,
For getting the normal and have an game object follow it, i did a working example a while back on this forum, can't find it, but will search better and give you the link asap
For distance, iwa is correct, to get a feel for vector operation, simply google for it, and then apply this with the actions provided, there is little you can't do with playmaker on that matter.
Bye,
Jean
-
:) really thank you !