Change Moveable on touch
fuzzeemic
Member Posts: 47
I'm having problems trying to get an actor to respond to a touch.
Actor is set to "Movable" (no tick) FALSE
I would like to touch the actor and have "Movable" set to TRUE so the acceleration applied will work.
I'm trying:
Actor receives event->touch>pressed
- Change Attribute, self.Physics.Moveable To true
This doesn't seem to work. I know the touch pressed works as I can adjust it's height/width this way.
Is it possible to change the movable flag in this way?
Actor is set to "Movable" (no tick) FALSE
I would like to touch the actor and have "Movable" set to TRUE so the acceleration applied will work.
I'm trying:
Actor receives event->touch>pressed
- Change Attribute, self.Physics.Moveable To true
This doesn't seem to work. I know the touch pressed works as I can adjust it's height/width this way.
Is it possible to change the movable flag in this way?
Comments
Thanks again :-)
I have another idea how to tackle it.
You are obviously quite experienced with GS nuances!
I want to do exactly this, have a pinned physics object, that upon touch, would un-pin it... I know there has to be a way, i just havent figured it out yet