stride3d / stride3d/stride

3d rotation gismo doesn't calculate which side you grab

Open
#700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Release
Version: 4.0.0.1 beta2 0926
Platform(s): Windows (editor studio)

Describe the bug

When using the 3d rotation gismo in editor studio, it rotates the model the same direction no matter which side of a rotation ring I grab. This causes it to rotate "backwards" or "opposite" if grabbing one side of the ring.

To Reproduce
Steps to reproduce the behavior:

  1. place a model
  2. turn on rotation gismo
  3. align it so one of the rings is perpendicular to the camera
  4. grab the right side of the ring to rotate the model
  5. grab the left side of the same color ring to rotate the model
  6. WITNESS: the model doesn't rotate the same direction you're dragging when grabbing one side of the ring.

Expected behavior
I expect the model to rotate as if I grabbed the ring and turned it.

Screenshots

(9) stride3d 3d rotation gismo bug demonstration - YouTube

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Stride Editor Studio on Windows using the listed rotation-gizmo steps, especially dragging opposite sides of the same ring. Then trace the 3D rotation gizmo's drag and direction handling; done means both sides rotate the model in the direction indicated by the drag.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.