AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke
http://andrestraks.github.io/BulletSharp/
150 stars 97 forks source link

"Bullet object already initialized" exception at GhostObject creation #81

Closed EugenyN closed 2 years ago

EugenyN commented 2 years ago

Hello. please add : base(ConstructionInfo.Null) to GhostObject ctor, otherwise we have "Bullet object already initialized." exception when creating a GhostObject

https://github.com/AndresTraks/BulletSharpPInvoke/blob/65782433d500e3bdd4059ed0288a604a2b7c478c/BulletSharp/Collision/GhostObject.cs#L17

AndresTraks commented 2 years ago

Fixed. Thanks!