Jump to content
Sign in to follow this  
VanhA-ICON

Flip goes the ship

Recommended Posts

Not very big problem but annoying since I was going for some sensible effect:

A frigate which get's destroyed when user places a charge by it's hull (action menu)

I made a script which tilts it and produces also some after explosions.

Problem is that when the sript is done the freaking ship tilts back to it's original position!! :confused:

In ships init:

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

The tilt command in script:

ship setVectorUp [0.4, 0.2, -0.04];

Now, is it the height setting in ship's init that causes this or what?

Any clues?

VanhA

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  

×