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
) »
Get World Pose
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Get World Pose (Read 3046 times)
treborjones
Playmaker Newbie
Posts: 24
Get World Pose
«
on:
July 20, 2015, 08:09:54 AM »
Hi folks,
Just wondered if anybody knew if the Get World Pose functionality with coliders had been created as an action? I'm trying to get my visual/mesh wheels to rotate with my Wheel colider in unity 5.0.1.
Any help much appreciated.
Bob.
«
Last Edit: July 20, 2015, 08:48:00 AM by treborjones
»
Logged
600
Moderator
Hero Member
Posts: 715
Re: Get World Pose
«
Reply #1 on:
July 20, 2015, 08:56:01 AM »
Hi, to rotate wheel mesh you can use Get Property for wheel collider and get "rpm", then set that as rotation on wheel mesh gameobjects.
Logged
-
Car and Traffic
Playmaker assets
-
Flashing Lights: Police, Fire, EMS
[Steam]
-
YouTube
treborjones
Playmaker Newbie
Posts: 24
Re: Get World Pose
«
Reply #2 on:
July 20, 2015, 09:16:05 AM »
Thanks for the response. Isn't there some fancy maths that you need to do with that RPM? I've been trying with that but not getting any sensible values. Was hoping the GetWorldPose would give me a rotational value that I could apply to the mesh wheel.... Might just take a bit more thought from me if the Get World Pose thing isn't an option.
Logged
600
Moderator
Hero Member
Posts: 715
Re: Get World Pose
«
Reply #3 on:
July 20, 2015, 09:20:46 AM »
Yes I multiply rpm with 3.6.
GetWorldPose is a custom action?
Logged
-
Car and Traffic
Playmaker assets
-
Flashing Lights: Police, Fire, EMS
[Steam]
-
YouTube
treborjones
Playmaker Newbie
Posts: 24
Re: Get World Pose
«
Reply #4 on:
July 20, 2015, 11:40:38 AM »
Its this functionality.
http://docs.unity3d.com/ScriptReference/WheelCollider.GetWorldPose.html
Just wondered if it was usable as a custom action, I'm not quite skilled enough to turn it into one myself. :-)
Logged
600
Moderator
Hero Member
Posts: 715
Re: Get World Pose
«
Reply #5 on:
July 20, 2015, 12:10:58 PM »
Unfortunately no such action at the moment
Logged
-
Car and Traffic
Playmaker assets
-
Flashing Lights: Police, Fire, EMS
[Steam]
-
YouTube
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Get World Pose