habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

Attempting to modify components of bound properties backed by vectors fails.

Open jturner65 opened this issue 2 years ago • 0 comments

Habitat-Sim version

Main

Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? The bug you are about to report may already be fixed in the latest version.

Main branch contains 'bleeding edge' code, but we do appreciate bug reports for it!

🐛 Bug

Unable to modify components of vector-based object properties in python. See this slack link for discussion.

Steps to Reproduce

Modifying a vector-backed property of an object via python by setting it to another vector works as expected, as can be seen here.

However, if we attempted to modify a component of that vector, like this :

boxes[b].translation.y =  7.0

This attempt will fail.

Please note that without a minimal working example to reproduce the bug, we may not be able to help you.

Expected behavior

Should be able to access vector-backed object properties directly for modification.

jturner65 avatar Oct 16 '23 15:10 jturner65