Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
grub

Getting a placed building to sit flat???

Recommended Posts

Hey guys,

Apologise if wrong place to post.

Also i have searched till my eyes bled, and read the whole FAQ sticky to no avail.

Question

Can i place a building on slightlty uneven ground and get it to sit flat. At the moment it is only leaning slightly. I some parts it is sinking into the ground but it wont sit flat. It is and OPX building if that helps.

Thankyou.

Grub

Share this post


Link to post
Share on other sites

Object init line: this setVectorUp [0,0,1]

Share this post


Link to post
Share on other sites

So [0,0,1] is height? Or will this just level it?

Sorry for Noobness.

Cheers Celery ;)

Share this post


Link to post
Share on other sites

It will make the building straight. this setPos [getPos this select 0,getPos this select 1,1] will alter its height.

Share this post


Link to post
Share on other sites

Sweet man. Was just checking OFPEC but unless you know what your looking for you just cruise straight over it.

Appreciate the help dude.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×