Move and Turn are no longer instantaneous

Move and Turn are no longer instantaneous

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Move and Turn are no longer instantaneous

Post by Google_Frog »

It's really annoying. In 91.0 I could do the following to EmitSfx anywhere I wanted.

Move( b_dome, x_axis, 22)
Move( b_dome, y_axis, -30)
Move( b_dome, z_axis, 12)
EmitSfx( b_dome, crater )
Move( b_dome, x_axis, 0)
Move( b_dome, y_axis, 0)
Move( b_dome, z_axis, 0)

This no longer works in 94.1. The same goes for rotations

Turn(gunpoints[num].pitch,x_axis,math.rad(-90))
local _, _, _, x, y, z = Spring.UnitScript.GetPiecePosDir(gunpoints[num].pitch)

Was this behaviour removed for a good reason? Can I have it back?
Post Reply

Return to “Engine”