Hi, I an currently trying to move an entity with a rigidbody in the ArcGIS enviroment, but have been unable to do so. I want to be able to move an entity between an ArcGIS point A and ArcGIS point B with a rigidbody. How would I achieve this?
I solved this with the following steps:
- Remove the rebase component from your ArcGISCamera (only recommended for small local scenes though).
- Add a empty gameobject with an ArcGISLocation component, this object is the parent of all your physics related stuff.
- Put all your Rigidbodies as childs of this object, without the ArcGISLocation component so the transform can be used normally for the physics system.
I hope this helps.
I didn't find a solution with using the rebase component, since the physics system doesn't update according to the world movements. But I guess you can lerp the position (be it the transform, HPTransform or cooridantes) between the positions of A and B.
Great, thanks. I have just been able to get it to work when I removed the Rebase component, took me a while to figure that out.
Ideally for future releases of the plugin, it would be a big bonus though if they could include support for or create an alternative to Rigidbody for the global scene with the ArcGIS rebase component.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.