Issue with movement and collision with a new spawned actor

DankStewDankStew Member Posts: 36
edited November -1 in Working with GS (Mac)
Hey there, I'm trying to figure out something in relation to a game I'm working on. Basically I want the main actor to be able to move (with touch controls for iPad) and have a "trail" made behind him. I want the trail to be non traversable and to have the actor move 1 unit for each directional move (ie move 30 pixels either up, down, left, or right for each touch), with the trail spawning in the spot where the main actor previously was. Currently, the codes I have working are:

Rule Actor (30 pixels) receives event when Key (right arrow) is down Moves (Move to) (X:30 Y:0 relative to actor) speed:300 with a
Spawn Actor (trail - 15 pixels) direction: 330 (relative to actor) Position: X:0 Y:0 (relative to actor)

I do a preview and when I try and move any direction, the trail hits the main actor and sends him flying (I have main actor set to 0 restitution).

SO, my problem is that I am trying to move my main actor 1 unit directional(30 pixels) leaving a trail behind him, but the trail is pushing the main actor for a ride. I hope I explained this, but please forgive me if I am a total n00b in my first tech post requesting help; I tried to give the proper formatting but it's hard typing this out while trying to minimize my Gamesalad viewer every time my boss walks by so he doesn't see!

Thanks!
DankStew
Sign In or Register to comment.