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
) »
Simplest way to move a ship left and right?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Simplest way to move a ship left and right? (Read 2654 times)
ptrlo
Playmaker Newbie
Posts: 31
Simplest way to move a ship left and right?
«
on:
October 04, 2014, 11:01:13 PM »
All I need is a ship to move left or right ( axis), ignoring all physics or other aspects. I have been looking at many tutorials and they all seem to complicate matters. Please explain it to me.
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Simplest way to move a ship left and right?
«
Reply #1 on:
October 04, 2014, 11:59:27 PM »
//www.youtube.com/watch?v=ZCf21xBeBQI
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
ptrlo
Playmaker Newbie
Posts: 31
Re: Simplest way to move a ship left and right?
«
Reply #2 on:
October 05, 2014, 10:42:09 AM »
I watched that and it didn't work. I only need movement along the x axis. The components used in that video seem to break it. The game controller introduces all sorts of aspects I don't need.
Can someone explain how to implement a very simple "if this key is pressed move left and if this key is pressed move right". Just that.
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Simplest way to move a ship left and right?
«
Reply #3 on:
October 05, 2014, 10:55:47 AM »
All you need is a Get Axis and Translate action.
Put the axis input into a variable, then use that variable in the Translate action. That's what the tutorial basically explains, we were using Forces there but its the same principle.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
ptrlo
Playmaker Newbie
Posts: 31
Re: Simplest way to move a ship left and right?
«
Reply #4 on:
October 05, 2014, 11:02:09 AM »
I followed that video step by step and my ship disappears. I turned gravity off in the rigidbody, I constrained Y in rotation and movement. And still it disappears.
Please help..
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Simplest way to move a ship left and right?
«
Reply #5 on:
October 05, 2014, 11:20:53 AM »
Quote from: Lane on October 05, 2014, 10:55:47 AM
All you need is a Get Axis and Translate action.
Get Axis, store the variable, add a Translate action, use the variable in the X slot. Nothing else is necessary.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Simplest way to move a ship left and right?