Facepunch / sbox-sdf

Library providing marching cubes / squares mesh generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SceneWorld Sdf2DWorld position does not get updated except during initialization

trundlr opened this issue · comments

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;

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

Great, thanks!