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
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#3
RE: Custom hatch falls through the floor

It's a SwingDoor. I did the same variables as the hatch_ceiling. Here is the picture of the model itself (nothing special looking really, but it works).

Spoiler below!
[Image: 9N5ySUm.jpg?2]

And this below is how all the bodies and hinges are currently behaving.

Frame:

Body Material = Rock
Mass = 0
Angular Damping = 0
Linear Damping = 0
Max Angular Speed = 0
Max Linear Speed = 0
Buoyancy density mul = 1

Blocks sound = true
Continuous collision = true
Can attach character = true
Pushed by character gravity = true
Collide character = true
Collide non character = true
Volatile = false
Use surface effects = true
Has gravity = true

Door:

Body Material = Rock
Mass = 10
Angular Damping = 0
Linear Damping = 0
Max Angular Speed = 0
Max Linear Speed = 0
Buoyancy density mul = 1

Blocks sound = true
Continuous collision = true
Can attach character = true
Pushed by character gravity = true
Collide character = true
Collide non character = true
Volatile = false
Use surface effects = true
Has gravity = true

Joint:

Sticky Min Limit = true
Sticky Max Limit = true
Limit Step Count = 0
Collide Bodies = true
Breakable = false
Break Force = 0

Min Angle = -135
Max Angle = 0

Move Type = Angular
Move Sound = joint_sewer_door.snt (just like hatch_ceiling)

I feel like the rest aint necessary from this point.

I havent clicked Set Parent/Child Body on the joint. Should I do so? Or is there something wrong with this above?

Derp.
(This post was last modified: 05-18-2014, 08:08 PM by Neelke.)
05-18-2014, 08:08 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 Neelke - 05-18-2014, 08:08 PM



Users browsing this thread: 1 Guest(s)