Skip to content

PhysicsWorld::Raycast is a 1cm sphere sweep in disguise #17

Open

Description

@CanReader

Raycast delegates to SphereSweep with a hardcoded 0.01f radius (PhysicsWorld.cpp:299), so every ray is fat by a centimeter and grazing hits report on surfaces a true ray would miss. DynamicAABBTree::RayCast exists and is exercised by nothing. Either wire the real ray query or document the radius and take it as a parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: physicsSimulation, collision, queriesbugSomething isn't workingpriority: mediumWorth doing, not urgent

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions