yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

CharacterControllerInterface cannot be inherited #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
CharacterControllerInterface cannot be inherited, has no public/protected 
constructor.

Also members should be abstract or at least virtual.

Original issue reported on code.google.com by ondrej.p...@keenswh.com on 29 Apr 2013 at 1:53

GoogleCodeExporter commented 8 years ago
Character controllers have always seemed to be more trouble than they're worth.

At the moment, a workaround would be to make a character controller class 
yourself by extending IActionInterface, which can be inherited freely. A 
similar implementation of what is needed can be found here:
https://code.google.com/p/bullet-xna/source/browse/branches/bullet-noxna/BulletN
oXna/BulletNoXna/BulletDynamics/Character/ICharacterControllerInterface.cs
https://code.google.com/p/bullet-xna/source/browse/branches/bullet-noxna/BulletN
oXna/BulletNoXna/BulletDynamics/Character/KinematicCharacterController.cs

Original comment by andres.traks on 26 Jun 2013 at 9:36

GoogleCodeExporter commented 8 years ago
Done.
https://github.com/AndresTraks/BulletSharp/commit/e370909296c201014f6043102fd508
62ad10cb50

Original comment by andres.traks on 23 Dec 2014 at 9:22