Dynamic actor options

UnrealCanine

  • Posts: 244
It would be nice if there was a way to change actor options whilst ingame (for example if you wanted an actor to be completely immovable until a point, or if you wanted two actors to be able to not collide for a while)

You can already enable and disable gravity, rotation and friction, but it would be nice to have more options available

dripple

  • Posts: 748
The only important thing you can't change during runtime is the weight of an actor, and even this should be possible by direct accessing the Box2D properties using code blocks.

I helped myself by using two variants of each actor. One is of leigh weight and the other one has a weight of 999.999kg, wich is almost infinite heavy. That makes him immovable to other (way lighter) actors and he still reacts on collisions and such.

Sure, my games won't get better with all the new features of Stencyl.
But I do have more fun creating bad ones.


MayazCastle Keeper

captaincomic

  • *
  • Posts: 6108
Extra getters/setters for physics properties will be in 3.1. :)