codingben / box2d-netstandard

C# port of Box2D - Erin Catto's 2D Physics Engine
https://box2d.org
MIT License
271 stars 53 forks source link

Unable to set CircleShape radius #53

Closed ErroneousCreationist closed 1 month ago

ErroneousCreationist commented 8 months ago

Description

I'm not sure if I'm missing something, but I can't seem to set the radius of a CircleShape. There isn't a 'Radius' property as is shown in the example, there isn't a way for it to use a CircleDef object.

How To Reproduce

Expected Behavior

There should be a 'shape.Radius' property like in the example

thomasvt commented 1 month ago

Late response, but I'm closing this because Radius is there.

The following works fine for me using Box2D.NetStandard Version 2.4.7-alpha:

image