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
Script Help Custom hatch falls through the floor
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: Custom hatch falls through the floor

Yes, set its parent/child. Parent for the static body, child for the door. So, two bodies.
Gravity on the door should be on, mass about 5 or 10, and collision with player/stuff on.
If the door goes mad in-game, make its body a little smaller than the model, so it doesn't collide with any border or anything nearby.
Check the attachments as well, the door model should be attached only to the body you made for it.
For your hatch I think you're gonna need to enable that option named Sticky Minimum on the hinge so the door stays in place until the player comes and moves it.

05-18-2014, 09:17 PM
Find


Messages In This Thread
Custom hatch falls through the floor - by Neelke - 05-18-2014, 04:20 PM
RE: Custom hatch falls through the floor - by Daemian - 05-18-2014, 09:17 PM



Users browsing this thread: 1 Guest(s)