Skip to content

SingleBody.Constraints can't be added to the World #8

@GoogleCodeExporter

Description

@GoogleCodeExporter
- What steps will reproduce the problem?

1. Just create a single body constraint,
2. call world.AddConstraint(..),
3. and get an instant NullReferenceException.

- What version of the product are you using?

The latest from the repository.

- Please provide any additional information below.

NullReferenceException: Object reference not set to an instance of an object
Jitter.Collision.IslandManager.AddConnection (IslandManager.cs:169)
Jitter.Collision.IslandManager.ConstraintCreated (IslandManager.cs:61)
Jitter.World.AddConstraint (World.cs:499)

IslandManager.AddConnection(RigidBody body1, RigidBody body2) doesn't expect 
body2 to be null.

Original issue reported on code.google.com by alex.zhd...@gmail.com on 24 Jun 2013 at 7:31

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions