Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Dev/bounding box accessors #60

Merged
merged 15 commits into from
Aug 9, 2019
Merged

Conversation

StephenHodgson
Copy link
Contributor

@StephenHodgson StephenHodgson commented Aug 5, 2019

Overview

Added accessors to bounding box to easier customization at runtime.

Changes

  • Fixed handle visibility when using cardinal axes.
  • Fixed bounding center not being calculated correctly.
  • Added manipulation handler as a required component to the bounding box.
  • Disabled colliders on the bounding box and it's proxy as we're performing manipulations.
  • Ensure we enabled display handles if setting any of the handle display flags to true
  • Fixed wireframe padding growing each time the bounding box was enabled/disabled
  • Added spatial mesh visibility options while manipulating an object.
  • Now when an object is grabbed it's transformed by that grabbed point (scale, transform, rotation)
    • Handles transform the object from its center pivot

@StephenHodgson StephenHodgson changed the base branch from upm to development August 5, 2019 18:39
- Fixed bounding center not being calculated correctly.
- Added manipulation handler as a required component to the bounding box.
- Disabled colliders on the bounding box and it's proxy as we're performing manipulations.
…lay flags to true

- Fixed wireframe padding growing each time the bounding box was enabled/disabled
SimonDarksideJ
SimonDarksideJ previously approved these changes Aug 6, 2019
SimonDarksideJ
SimonDarksideJ previously approved these changes Aug 6, 2019
…o that we don't have to disable the colliders

Updated Bounding Boxes scale constraints to use the manipulation handler's since it's a required component
@StephenHodgson StephenHodgson merged commit 3ff6121 into development Aug 9, 2019
@StephenHodgson StephenHodgson deleted the dev/bounding-box-accessors branch August 9, 2019 14:29
XRTK-Build-Bot pushed a commit that referenced this pull request Aug 13, 2019
* added public accessors for setting bounding box properties.

* show rotate handles if set

* - Fixed handle visibility when using cardinal axes.
- Fixed bounding center not being calculated correctly.
- Added manipulation handler as a required component to the bounding box.
- Disabled colliders on the bounding box and it's proxy as we're performing manipulations.

* Don't use the offset if the object's position is at zero

* - Ensure we enabled display handles if setting any of the handle display flags to true
- Fixed wireframe padding growing each time the bounding box was enabled/disabled

* only enable the bounds collider when rig is active

* Disable link colliders. We don't need them

* Ignore the manipulation target while we're performing our transform so that we don't have to disable the colliders
Updated Bounding Boxes scale constraints to use the manipulation handler's since it's a required component

* removed unused using statement

* Added spatial mesh visibility options while manipulating an object

* revert removal of extensions

* use the manipulation target to determine the layer

* added pointer offset rotation/scaling to manipulation handler
fixed popping when starting a hold
fixed colliders still being active on bounding box when rendering was disabled.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants