Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting picture to stay on the wall
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#3
RE: Getting picture to stay on the wall

Go to the second tab of the entity settings and select 'static physics'. Then, when you want that painting to come off the wall, use the SetPropStaticPhysics function in your .hpl file. If you want the painting to come off when you touch it, create a script area roughly the size of the painting and have it be interactable with a function in the .hpl that uses the SetPropStaticPhysics line mentioned above.

[Image: signature-2.png]
01-19-2013, 05:13 PM
Find


Messages In This Thread
RE: Getting picture to stay on the wall - by Streetboat - 01-19-2013, 05:13 PM



Users browsing this thread: 1 Guest(s)