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
) »
Center of mass
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Center of mass (Read 2477 times)
sebaslive
Hero Member
Posts: 572
Center of mass
«
on:
August 27, 2014, 02:13:10 PM »
Hi, I need a tall square to fall from the base and topple over. I found in the scripting api this center of mass for rigidBodies. Anything like this in playmaker?
http://docs.unity3d.com/ScriptReference/Rigidbody-centerOfMass.html
Logged
All my VR games use Steam VR Playmaker Toolkit:
http://u3d.as/u20
And Oculus Touch Playmaker Toolkit:
http://u3d.as/QT5
Follow me @sebasRez
600
Moderator
Hero Member
Posts: 719
Re: Center of mass
«
Reply #1 on:
August 27, 2014, 02:48:02 PM »
Hello,
use Get Component action to get the Rigidbody (store it in Object variable UnityEngine.Rigidbody), then Set Property for that Object var, there will be "centerOfMass" in dropdown menu
Logged
-
Car and Traffic
Playmaker assets
-
Flashing Lights: Police, Fire, EMS
[Steam]
-
YouTube
sebaslive
Hero Member
Posts: 572
Re: Center of mass
«
Reply #2 on:
August 28, 2014, 01:22:40 PM »
Thanks, that did the trick!
Logged
All my VR games use Steam VR Playmaker Toolkit:
http://u3d.as/u20
And Oculus Touch Playmaker Toolkit:
http://u3d.as/QT5
Follow me @sebasRez
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Center of mass