Parenting a cube

Avatar
GameBurger
93 Posts
Posted Feb 01, 2015
Weird title, ah?

Can I somehow tie (parent) a weighted cube to something? Both prop_weighted_cube and prop_physics do not have a SetParent command in the I/O.

Thanks!

Advertisement
Registered users don't see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Feb 01, 2015
Replied 1 hour later
you could give phys_constraint a go
Avatar
CamBen
973 Posts
Posted Feb 01, 2015
Replied 2 hours later
although "setparent" shows up red and invalid, in the game it is still valid so I suggest trying it still.
Avatar
GameBurger
93 Posts
Posted Feb 02, 2015
Replied 9 hours later
Thanks! Ill try those
Avatar
Goldenknighttim
182 Posts
Posted Feb 04, 2015
Replied 2 days later
I would use a prop_dynamic_overide where the movel is the cube to make it look like the cube is parented.
Advertisement
Registered users don't see ads! Register now!
Avatar
radelite
121 Posts
Posted Feb 10, 2015
Replied 5 days later
If you a saying you want to make the cube parented to another object then I believe I can help you.

What you will need is the name of the parent and thats all.

Ok step 1-open the cubes properties where you find the cube settings and such.

Step 2-near the top right corner of the settings you will see a button with the name smart edit.

step 3-putting it in smart edit you can manually add a parent to near anything so now click add.

Step 4-when you click add a new window should popup that says keyvalue, first under key type in "parentname" without the "".

Step 5-Last part, under value type in the name of the parent.

All thats left is to click ok, exit smart edit, and apply. now your cube should be parented to your object you chose.