Jump to content
Sign in to follow this  
Sevan

sinking an object

Recommended Posts

How do you sink any object into the ground?

Share this post


Link to post
Share on other sites

I do not quite follow you here, "sinking"?

If you want to place and object partly underground do this:

this setPos [getPos this select 0, getPos this select 1, -1];

To place it 1 meter below ground.

Share this post


Link to post
Share on other sites

the "sinking" effect only works on bodies (as i know so far)

the command for is "hidebody _unit;"

Share this post


Link to post
Share on other sites

If you want an object to literally sink over time you need a script that subtracts a value from the Z positional component, looped over time until the object is completely sunk.

Share this post


Link to post
Share on other sites

thanks for the answers, I found what I was looking for. smile_o.gif

Share this post


Link to post
Share on other sites
thanks for the answers, I found what I was looking for.  smile_o.gif

So, hows it done? huh.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×