stride3d / stride3d/stride

Nagivation doesnt work with static meshes

Open
#2,326 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Release Type: Official Release

Version: 4.2.0.2149

Platform(s): Windows

Describe the bug
Nagivation mesh ignore all static meshes

To Reproduce
Steps to reproduce the behavior:

  1. Create new project
  2. Add simple navigation configuration as in the official tutorial
  3. Add a plane and some cube
  4. Add static colliders for both
  5. Add infinite mesh to plane
  6. On collider shapes of the cube, add static mesh and reference itself

Expected behavior
Navigation mesh should update and use the cube as a wall or obstacle

Screenshots
With static mesh
1

With cube shape (how it should look)
2

Additional context

  • Its not a visual problem, characters navigation doesnt work
  • Using a convex hull works good, but it cant be used as a workaround
  • Creating a collider shape asset doesnt work
  • I tried on master and it doesnt work either

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 a new project on Windows using the official navigation setup, a plane with an infinite mesh, and a cube with a static collider and referenced static mesh. Compare the static-mesh result with the working convex-hull and cube-shape cases; done means the navigation mesh uses the cube as an obstacle and character navigation avoids it.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.