Skip to content

Missing properties for BodyConf #549

Closed
@opera-aberglund

Description

@opera-aberglund

Expected Behavior:

I want to be able to set the sweep, mass and rotInertia in the body config

BodyConf{}.UseSweep(sweep).UseMass(mass).UseRotInertia(rotInertia);

Actual Behavior:

I can only set them after creating the body

auto bodyID = CreateBody(world, BodyConf{});
auto body = GetBody(world, bodyId);
SetSweep(body, sweep);
SetMass(body, mass);
SetRotInertia(body, rotIntertia);
SetBody(world, bodyId, body);

Metadata

Metadata

Labels

EnhancementFor suggestions or changes that enhance any part of the project and isn't a bug.LibraryFor issues that effect the library and aren't specific to any particular application.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions