Question on collisions...
Hi, I'm fairly new to GameSalad and I have a question about the collision behavior.
I'm creating a game with gravity and i need a floor, problem is that when using the collision behavior it automatically bounces and i don't want that.
Basically, in this game, objects move across and the screen and you need to flick them off the screen. I have followed the throwing an object tutorial and it works while the object is stationary, however if the object is moving across the screen then the flicking will no longer work. If i use the velocity function instead of move then it works but then the gravity cause the items to bounce and move along the screen at different rates.
Sorry, there are a lot of questions in there. If anyone can help it would be greatly appreciated.
I'm creating a game with gravity and i need a floor, problem is that when using the collision behavior it automatically bounces and i don't want that.
Basically, in this game, objects move across and the screen and you need to flick them off the screen. I have followed the throwing an object tutorial and it works while the object is stationary, however if the object is moving across the screen then the flicking will no longer work. If i use the velocity function instead of move then it works but then the gravity cause the items to bounce and move along the screen at different rates.
Sorry, there are a lot of questions in there. If anyone can help it would be greatly appreciated.
Comments
The collision can also be dependent on an attribute too. So for example, if you have something that switches on once the actor has been touched (ie a self boolean attribute called touched that changes to true when it's been flicked). That way you could make a rule that the actor only collides with the floor if 'touched=false' so when its been flicked it'll pass straight through the object.
Hope that makes sense.