You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, currently physics bodies connot be placed inside composites (I don't know if this will ever be possible in future becuase the problem is more conceptual.. What should happens if other objects that aren't physics?). I think that physics inside composite doesn't make much sense, but if you've suggestions please share :)
Regarding coordinates you can move any type of object by changing values in TransformComponent. Remeber that coordinates are local to the composite size and position, CompositeSystem does the expected behavior as it have to update position relative to parent composite.
Yes PhysicsSystem will always update bodies and their position, if you need a custom behavior the best way is to override this system like this one made for the editor PhysicsAdjustSystem.
Regarding camera, in theory you can use a PerspectiveCamera at runtime, but current runtime implementation doesn't support anything related to a 3d environment (z axis), you might have to struggle a bit with the sprite batch to get some results... I'd like to add a PerspectiveCamera with more 2.5D effects but this is a very far feature.. there are still lot of 2D stuff that have to me done first
in demo, it use the 'Physics Body' to move the player. if i don't open Physics enable, and want to move player.
how can id do?
Direct manipulation of transformcomponent's coordinates does not work. because CompositeSystem is constantly updating it.
The text was updated successfully, but these errors were encountered: