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
) »
rotate GameObject to mouseCurser in 3D space along z-axis
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: rotate GameObject to mouseCurser in 3D space along z-axis (Read 1317 times)
miccel123
Playmaker Newbie
Posts: 3
rotate GameObject to mouseCurser in 3D space along z-axis
«
on:
January 23, 2018, 07:00:42 AM »
Hello there and a welcome from Austria:)
Since this is my first post in this forum I want to say that I really started to love using PlayMaker. I am coming from Unity Script which is no longer fully supportet.
To my issue:
Basically I want to rotate a GameObject (weapon) always pointing the mouse curser along the Z-axis 360 degrees in perspective 3d mode. I got this to work in orthographic 2d mode but I have no clue how to set-up the FSM in 3d view port to get this to work.
Link to picture:
https://ibb.co/ciZnuG
Thank you very much!
«
Last Edit: January 23, 2018, 07:26:02 AM by miccel123
»
Logged
miccel123
Playmaker Newbie
Posts: 3
Re: rotate GameObject to mouseCurser in 3D space along z-axis
«
Reply #1 on:
January 25, 2018, 02:41:33 PM »
This is the solution I come up with in order to rotate a GameObject in 3D space along the z axis. Works well!
Thanks for ...help
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: rotate GameObject to mouseCurser in 3D space along z-axis
«
Reply #2 on:
January 26, 2018, 01:52:57 AM »
Hi,
Well, thanks for sharing back your findings
If you don't get help, just ping your thread, and ultimatly, get in touch with me via pm, it's likely we just got overloaded and missed some of the latest posts...
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
rotate GameObject to mouseCurser in 3D space along z-axis