Jump to content
Sign in to follow this  
wiggum2

setPos question (object is not 100% on ground)

Recommended Posts

Hi,

i run into trouble with a simple code:

thecar setPos (getMarkerPos "pos1")

The code works perfect, but the problem is that the car is not modelled to the real ground, it somhow looks like the car is 100% horizontal and not fitting the real terrain...

I tried different things and searched but it looks like no other person had such a problem... :D

Can someone help ?

Share this post


Link to post
Share on other sites
thecar setPos [(getPos thecar select 0),(getPos thecar select 1),0];

hm... i think this should solve the problem. I used similar at a script for minethrower vehicle.

so first your code and afterwards this one.

Share this post


Link to post
Share on other sites

@ davincy81

Thanks, this solves the problem !

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  

×