playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Is there a "Get Direction" action in playMaker[SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Is there a "Get Direction" action in playMaker[SOLVED] (Read 3540 times)
spiralKing
Junior Playmaker
Posts: 50
Is there a "Get Direction" action in playMaker[SOLVED]
«
on:
March 26, 2014, 12:06:33 PM »
I want to get the direction an objects x vector is pointing to in screen space as it rotates around the z axis
«
Last Edit: April 08, 2014, 12:02:53 AM by jeanfabre
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Is there a "Get Direction" action in playMaker
«
Reply #1 on:
April 02, 2014, 07:51:11 AM »
hi,
if you want the angle, you can use the set of vector 2 and trigo actions:
https://hutonggames.fogbugz.com/default.asp?W547
If you want the quaternion, use the "transform direction" and mention "x", that will give you the x directions of that transform in world space, which you can then express in screenspace as you see fit.
What are you trying to achieve?
bye,
Jean
Logged
spiralKing
Junior Playmaker
Posts: 50
Re: Is there a "Get Direction" action in playMaker
«
Reply #2 on:
April 07, 2014, 07:26:50 PM »
As I rotated an object, I needed to know the direction its x was pointing to
the "transform direction" action got me that direction
I'd been trying to do this for a while now
Thanks
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Is there a "Get Direction" action in playMaker[SOLVED]