Facepunch / sbox-sdf

Library providing marching cubes / squares mesh generation
MIT License
15 stars 7 forks source link

SceneWorld Sdf2DWorld position does not get updated except during initialization #18

Closed trundlr closed 1 year ago

trundlr commented 1 year ago

Presently, when attempting to move an Sdf2DWorld set up in a SceneWorld, adjusting the Position or LocalPosition does not seem to move the Sdf2DWorld.

For example, in the Grubs menu, calling this in tick does not seem to affect the position of the mesh on screen. _sdfWorld.Position += Vector3.Up * 2f;

Metapyziks commented 1 year ago

Sorry for the delay, should be fixed now as long as you call _sdfWorld.Update() regularly.

trundlr commented 1 year ago

Great, thanks!