Jump to content
Sign in to follow this  
MrZ

How do i put empty objects on top of another?

Recommended Posts

How do I put a laptop on top of a table?

Share this post


Link to post
Share on other sites

Name table as table and put into init box of laptop :

this setpos [(table selsect 0)+x,(table selsect 1)+y,(table selsect 2)+z]

Change x,y,z values (numbers)

Share this post


Link to post
Share on other sites

Im not sure that works...

this setpos [getpos this select 0, getpos this select 1, 1]

that will place the object 1 meter over the ground from where U placed it.

Share this post


Link to post
Share on other sites

You are right. I have done mistake ! It should be :

this setpos [(getpos table select 0)+x,(getpos table select 1)+y,(getpos table select 2)+z]

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  

×