stride3d / stride3d/stride

Ability to name Physics ColliderShapes

Open
#1,978 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.

For documentation it would be very helpful to be able to name ColliderShapes on PhysicsComponents. Currently when one physics entity has multiple ColliderShapes it gets confusing when 90% of them are just named Box as seen in the image below.

Describe the solution you'd like
It might be as simple as adding a string property to the ColliderShape just to be able to add a differentiator to each shape in a PhysicsComponent.

Additional context
In this image you can see every shape has the name Box which wlll be impossible to remember what they are in relation to without moving them and seeing what moves in the scene.
image

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

Start by locating the ColliderShape and PhysicsComponent definitions, then trace where multiple shapes are displayed in the editor. Determine how a per-shape name would be stored and surfaced; done means shapes in one PhysicsComponent can be given distinct names instead of all appearing as Box.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.