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
) »
how do i add force in world space, in the direction an object is facing?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how do i add force in world space, in the direction an object is facing? (Read 1413 times)
Fleech
Playmaker Newbie
Posts: 45
how do i add force in world space, in the direction an object is facing?
«
on:
October 22, 2019, 04:47:50 PM »
i prefer the way force is applied consistently without regard to the objects rotation in world space, how do i apply force in world space in the direction a physics object is facing? i can use local space but for what i'm doing i would really prefer to use world space.
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: how do i add force in world space, in the direction an object is facing?
«
Reply #1 on:
October 22, 2019, 06:21:37 PM »
Hi.
Actually you need to set the space to self then.
As then it will depend on the objects rotation.
Any reason why you prefer using world space?
Logged
Join the PlayMaker Discord Channel!
jeanfabre
Administrator
Hero Member
Posts: 15620
Official Playmaker Support
Re: how do i add force in world space, in the direction an object is facing?
«
Reply #2 on:
October 29, 2019, 03:18:22 AM »
Hi,
Use TransformDirection and InverseTransformdirection to go from local to world space or the inverse, this what you need to get a world based force for a given object.
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
how do i add force in world space, in the direction an object is facing?