2025-08-23 00:26 CEST

spring: develop fb40aee2 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
rtri rtri develop 2016-12-08 02:23:31 develop fdbe96d9
Changeset add Spring.SetUnitPieceMatrix(number unitID, number pieceNum, table matrix)

sets the local (i.e. parent-relative) matrix of the given piece if any of the
first three elements are non-zero, and also blocks all script animations from
modifying it until {0, 0, 0} is passed

matrix should be an array of 16 floats, but is not otherwise sanity-checked
mod - rts/Lua/LuaObjectMaterial.h Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Lua/LuaSyncedCtrl.h Diff ] File ]
mod - rts/Rendering/Models/3DModel.cpp Diff ] File ]
mod - rts/Rendering/Models/3DModel.h Diff ] File ]
mod - rts/Rendering/Models/AssParser.cpp Diff ] File ]