Gravity as Vector
ktimv3
Member Posts: 2
I'm a little new to GameSalad. The newest release states that you can modify gravity during game play, as apposed to statically assigning it the Scene Editor.
"Gravity As A Vector Gravity now has an X component. In previous versions But wait, that's not all. Gravity now can be actively controlled via behaviors allowing for alterations in direction and magnitude based on ‘x’ and ‘y’ gravity values while the game is running."
I see how you can modify x & y values in the scene area, but I can't find how to modify it's values via behaviors or during gameplay. The attribute browser does not have any entries for gravity. I tried self.Gravity.X, game.Gravity.X, etc...
I must be looking in the wrong place.
Anyone have success with modifying any gravity components/attributes? Thanks!
"Gravity As A Vector Gravity now has an X component. In previous versions But wait, that's not all. Gravity now can be actively controlled via behaviors allowing for alterations in direction and magnitude based on ‘x’ and ‘y’ gravity values while the game is running."
I see how you can modify x & y values in the scene area, but I can't find how to modify it's values via behaviors or during gameplay. The attribute browser does not have any entries for gravity. I tried self.Gravity.X, game.Gravity.X, etc...
I must be looking in the wrong place.
Anyone have success with modifying any gravity components/attributes? Thanks!
Comments
You can only modify Scene attributes with instances in the scene.
I was trying to modify Gravity with the prototype.