Floating Ragdoll

Avatar
beecake
484 Posts
Posted Jan 23, 2012
Is there any way so i can make a ragdoll float in the air? There is one prop that can be used as a ragdoll, and i want it to hang in the air. Actually parented to a func_track_train which follows the player. But first thing is to make the ragdoll have a point which the center of the ragdoll is tied to... does anyone know this?

After that. Any way how to make an info_target parent to the player?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Robdon
204 Posts
Posted Jan 23, 2012
Replied 2 hours later
Hi,

Cant you just parent the ragdoll to the train?

As for the info_target, you need to use a logic_auto and on mapspawn call the SetParent property of the info_target and assign it to !player

It only works in a logic_auto, and not if you put it directly into the info_target parent property in hammer.

Rob.

Avatar
beecake
484 Posts
Posted Jan 23, 2012
Replied 1 minutes later
Nice thank you... i hope the ragdoll thingy works :wink:
Avatar
Robdon
204 Posts
Posted Jan 23, 2012
Replied 14 minutes later
Yeah, parenting will make it move, but it will probably be a bit 'rigid'.

Maybe try using a phys_ballsocket or phys_hinge to make it move a bit more freely, depending on what you want to do.

Rob.

Avatar
ChickenMobile
2,460 Posts
Posted Jan 24, 2012
Replied 12 hours later
try using a phys_constraint (that that usually acts like it is parented anyway)
Avatar
beecake
484 Posts
Posted Jan 24, 2012
Replied 1 hour later
Ill try both... anyway is there a way that i can make the track_train avoid colliding with walls? So it chooses a way to get to the point without colliding?
Avatar
Robdon
204 Posts
Posted Jan 24, 2012
Replied 1 hour later
No, you have to make the path with path_track entities and it will just follow them
Advertisement
Registered users don’t see ads! Register now!
Avatar
beecake
484 Posts
Posted Jan 24, 2012
Replied 3 hours later
Dang it... i wanted to make the train follow the player, but if the player goes behind a corner it will go directly through it i guess