Hello i would like toi add a input to my mod for add mass.
For example the mass of my mod is 1500 perfect for transport,but i want to change is mass in game like that after transport i put it in ground and if a tractor tuch him he dont move.
For example for now i have tried that by using the cover option. :
<animations>
<animation name="toggleCover">
<part node="0>" startTime="0" endTime="0.05" massActive="1500" />
<part node="0>" startTime="0.05" endTime="0.1" massActive="500000" />
</animation>
</animations>
<cover>
<coverConfigurations>
<coverConfiguration>
<cover openAnimation="toggleCover" fillUnitIndices="1" />
</coverConfiguration>
</coverConfigurations>
</cover>
But this doesn't work. Do you know who solve these problem ?
thank you
help for adjusting mass in game
2 posts
Page 1 of 1
Re: help for adjusting mass in game
There are no attributes like massActive/massInactive available for animations as far as I could see it in lua doc.
If I'm not wrong, mass can only be changed via config (objectChange)
If I'm not wrong, mass can only be changed via config (objectChange)
2 posts
Page 1 of 1