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 to make teleport feature ?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to make teleport feature ? (Read 2904 times)
JohnSwe79
Playmaker Newbie
Posts: 4
How to make teleport feature ?
«
on:
February 03, 2018, 04:44:26 AM »
I have two spheres in my scene.
Sphere 1 and Sphere 2, both in different location.
I want to teleport Sphere 1 to Sphere 2 location.
Can someone type here what kind of action setup I need.
Logged
verybinary
Junior Playmaker
Posts: 81
Re: How to make teleport feature ?
«
Reply #1 on:
February 03, 2018, 06:44:43 AM »
translate the sphere to the sphere it will join. set up settings to where the movement isn't slow.
or parent the sphere to the sphere and translate to 0,0,0 self
Logged
http://themuseumofdigital.com
Kathar
Playmaker Newbie
Posts: 48
Re: How to make teleport feature ?
«
Reply #2 on:
February 03, 2018, 11:21:43 AM »
I'd use the
Get Position
action to get the position Vector of Sphere 2, then
Set Position
of Sphere 1 to the position Vector you just received
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: How to make teleport feature ?
«
Reply #3 on:
February 03, 2018, 11:26:12 AM »
Hi,
Have a trigger for each location, then when triggered by the player you can store the player and then use 'Set Position' and set the position there the other location.
Now you could use a dummy object for easier positioning so you can easily change the position.
For this you need to use a 'Get Position' and store that in a variable and use that to set the position of the player.
Here is a sample :
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
How to make teleport feature ?