Jump to content
Sign in to follow this  
DarkEclip

Weird thing!!

Recommended Posts

Hi I have a problem:

When I change Time in the editor all the stuff on my LHD change position up or down.

I take two pictures

8.30 hrs am

arma2_11.jpg

And second 6:30 hrs am

arma2_10.jpg

Someone can help me pls.

Thank you.

Share this post


Link to post
Share on other sites

well, with time the sea-level changes too, which in turn affects all your (implicit or explicit) setPos commands.

You might work around this problem, if you relate all the setPos commands to the ship (or some object of it) as a fix-point, since the ship will naturally adapt it's position to the sea-level. The command modelToWorld (in combination with offsets for all your objects) might come in handy here.

Edited by ruebe

Share this post


Link to post
Share on other sites

Ah the changing tides... always complicatin' things.

I agree with ruebe, use the LHD objects themseves as reference points, it might be harder to place them just right but their positions will be more consistent.

Share this post


Link to post
Share on other sites

But why the this setPosASL [(getPosASL this) select 0, (getPosASL this) select 1, -.05]; Don't affect any other object, just the LHD??

Share this post


Link to post
Share on other sites
But why the this setPosASL [(getPosASL this) select 0, (getPosASL this) select 1, -.05]; Don't affect any other object, just the LHD??

It's an illusion, it's affecting all objects EXCEPT the LHD :)

Share this post


Link to post
Share on other sites

What i want to say is when i place an object with setPosASL, changing the time IG don't affect this object, just the LHD goes down or up.

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  

×