Skip to content

TestPhysicsRayCast uses a ray that's too short #886

@stephengold

Description

@stephengold

Despite the name, PhysicsSpace.rayTest() uses a "ray" of finite length, what mathematicians call a line segment.

TestPhysicsRayCast currently uses a "ray" with length=1. For the test model used, this is too short to reach the model from the initial camera position.

For TestPhysicsRayCast to be a useful and convenient test, the ray needs to be much longer, perhaps 50 world units.

Metadata

Metadata

Assignees

Labels

defectSomething that is supposed to work, but doesn't. Less severe than a "bug"examplesspecific to the jme3-examples sub-project

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions