GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Using Constrain Attribute.

dhousedhouse Posts: 2Member
Is there a way to "un-Constrain" one object from another? In a scene I have an actor constrained to the movement of another actor but after a period of time I want to switch off the constraint. Possible? No?
Thanks.

Comments

  • developer6810developer6810 Posts: 139Member
    Use the timer behavior and do: FOR (however many seconds you want), constrain position ... (to the other actor). After the timer's done, the constrained position will disable :)
  • dhousedhouse Posts: 2Member
    I'll try that.
    Thanks.
  • gyroscopegyroscope I am here.Posts: 6,577Member, Sous Chef, PRO

    @dhouse

    Hi, another way (perhaps "a little more watertight" and easier to switch on/off at will):

    Boolean att called ConSwitch

    When ConSwitch is true
    Constrain Behaviour

    To switch it off, use a change attribute conSwitch to false; similar for true if you want to turn on the constrain behaviour again.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

This discussion has been closed.