Closed loveridge closed 3 weeks ago
How does this handle impossible states, like something being both in air and underwater at the same time? Or is it up to games to say for themselves what an impossible state is?
If you set an impossible state via lua, the getter will just regurgitate it. Engine resets the state each simframe and will never produce something impossible.
I don't understand... you can set state via Lua, but the engine resets it every frame? Isn't that the same as not being able to set state from Lua?
There's 2 kinds of bits in the physical state:
For https://github.com/beyond-all-reason/spring/issues/1520 Can be used to determine if a unit has any of the following: