How can I pause my game?

chosenonestudioschosenonestudios Member Posts: 1,714
edited November -1 in Working with GS (Mac)
Hey there, I was wondering how I could pause my game?

Also I was wondering when I "collide" into another actor how do I make it to I will stop moving?

Tyvm :)

Comments

  • synthesissynthesis Member Posts: 1,693
    I figured this fix...but is there a way to stop all physics in mid stream and resume their realtime behaviors? It seems in a simple pause switch, it would destroy all physics effects in process.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    yes, it's not easy. you would need to keep track of every actor's linear X and Y velocity. Which would require a lot of constrains, which are processor intensive...
  • synthesissynthesis Member Posts: 1,693
    While were on that...
    How do you grab an actor's current rate of acceleration and/or velocity? Is it grabbable?

    In other words...ball is told to accelerate towards X and Y at rateValueA.

    How to you call up its current rate of acceleration at any given point along that path?
Sign In or Register to comment.