Home   Help Search Login Register  

Author Topic: Bury wall  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

Offline Alan34

  • Members
  • *
  • Praise the Lord and pass the Carl Gustav
    • Red Devils
Bury wall
« on: 18 Jan 2008, 22:30:03 »
I need to lower the wall object and wanted to know the best code to use.  It will essentially be "buried" part way into the ground to lower it's effective height.   Thanks

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Bury wall
« Reply #1 on: 18 Jan 2008, 22:41:05 »
Try:
Code: [Select]
wallobject setPos [getPos wallobject select 0,getPos wallobject select 1,-1.5]

Offline Alan34

  • Members
  • *
  • Praise the Lord and pass the Carl Gustav
    • Red Devils
Re: Bury wall
« Reply #2 on: 19 Jan 2008, 23:01:46 »
Works well, thanks.  :)