[v2]pointer to a managed type problem
Posted: Wed Feb 20, 2019 10:40 pm
I'm trying to create a brand new project (so far I've only been playing inside the Demos project) using MonoGame and Bepu 2.
When creating an INarrowPhaseCallbacks to feed the Simulation object, I'm getting those errors:
Is there any switch in the project, or something I might be missing to allow those pointers?
( the project is a .NET 4.7.1 because MonoGame can't work with net core 2 yet. Is this a net core feature? )
Thanks!
When creating an INarrowPhaseCallbacks to feed the Simulation object, I'm getting those errors:
Code: Select all
error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('ConvexContactManifold')
error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('NonconvexContactManifold')
error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('ConvexContactManifold')
( the project is a .NET 4.7.1 because MonoGame can't work with net core 2 yet. Is this a net core feature? )
Thanks!