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
) »
Add force in the direction of an object
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Add force in the direction of an object (Read 2389 times)
JollyMan
Playmaker Newbie
Posts: 10
Add force in the direction of an object
«
on:
December 14, 2014, 08:23:47 PM »
Hi,
All I want to do is add force to my bullet so that it goes towards a specific object but doesn't keep updating towards the object like the move towards action. Can anyone help?
Cheers,
JollyMan
Logged
mdotstrange
Hero Member
Posts: 555
Re: Add force in the direction of an object
«
Reply #1 on:
December 14, 2014, 09:14:26 PM »
You can add force in the Z direction on the bullet- then on an empty game object that is emitting the bullet add a "smooth look at" action that is pointing at the target
Logged
Indie game dev and instructor at the Strange School.
Learn Playmaker at the Strange School!
JollyMan
Playmaker Newbie
Posts: 10
Re: Add force in the direction of an object
«
Reply #2 on:
December 15, 2014, 05:38:07 PM »
Hey,
I tried to do this but for some reason my bullet does not use the same rotation as the object it is spawned from so no matter if it is using the self space or world space it will go to one point on the map. Any ideas on how to fix this?
Cheers,
JollyMan
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Add force in the direction of an object