Skip to content

[MISC] Add viewer code to handle moving objects#1378

Merged
duburcqa merged 3 commits intoGenesis-Embodied-AI:mainfrom
gasnica:pr/25/709_simple_moving
Jul 10, 2025
Merged

[MISC] Add viewer code to handle moving objects#1378
duburcqa merged 3 commits intoGenesis-Embodied-AI:mainfrom
gasnica:pr/25/709_simple_moving

Conversation

@gasnica
Copy link
Contributor

@gasnica gasnica commented Jul 9, 2025

Description

Objects can be held with LMB.
When objects are held, camera rotation (via mouse-drag) is suspended.

Temporary implementation of object movement is added, where only position is updated, not velocities, so that causes interpenetrations of objects.

  • Add simple box-moving interaction.
  • Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
  • Rename oobb to obb.
  • Vec3/Quat.as_tensor() is now a method.

Motivation and Context

Allow moving of objects and kinematic chains by using external user force.

How Has This Been / Can This Be Tested?

Manual testing only

Screenshots (if appropriate):

image

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I updated the documentation accordingly or no change is needed.
  • I tested my changes and added instructions on how to test it for reviewers.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@duburcqa
Copy link
Collaborator

Ready to merge after rebase.

@gasnica gasnica force-pushed the pr/25/709_simple_moving branch from d250407 to 548e33a Compare July 10, 2025 15:27
@gasnica
Copy link
Contributor Author

gasnica commented Jul 10, 2025 via email

@duburcqa duburcqa enabled auto-merge (squash) July 10, 2025 16:06
@duburcqa duburcqa merged commit 4a7ec67 into Genesis-Embodied-AI:main Jul 10, 2025
13 checks passed
ACMLCZH pushed a commit to ACMLCZH/Genesis that referenced this pull request Jul 15, 2025
…1378)

* Add simple box-moving interaction.
* Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
* Rename oobb to obb.
* Vec3/Quat.as_tensor() is now a method.
chris-la-humalab pushed a commit to HumaLab/Genesis that referenced this pull request Aug 1, 2025
…1378)

* Add simple box-moving interaction.
* Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
* Rename oobb to obb.
* Vec3/Quat.as_tensor() is now a method.
LeonLiu4 pushed a commit to LeonLiu4/Genesis that referenced this pull request Aug 7, 2025
…1378)

* Add simple box-moving interaction.
* Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
* Rename oobb to obb.
* Vec3/Quat.as_tensor() is now a method.
YilingQiao pushed a commit to YilingQiao/Genesis that referenced this pull request Aug 22, 2025
…1378)

* Add simple box-moving interaction.
* Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
* Rename oobb to obb.
* Vec3/Quat.as_tensor() is now a method.
winnieyangwannan pushed a commit to winnieyangwannan/Genesis that referenced this pull request Sep 14, 2025
…1378)

* Add simple box-moving interaction.
* Lazy load tensor in vec3.py, add Vec3/Quat.from_tensor/from_array.
* Rename oobb to obb.
* Vec3/Quat.as_tensor() is now a method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants