fabmax / physx-jni

Java JNI bindings for Nvidia PhysX
MIT License
89 stars 9 forks source link

Missing setActorFlag function #39

Closed haubna closed 2 years ago

haubna commented 2 years ago

PxActor is missing the setActorFlag function so you have to retrieve the flags with getActorFlags first, modify them and then set them with setActorFlags which adds quite a bit of JNI overhead.

Function definition can be found here: https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/apireference/files/classPxActor.html

fabmax commented 2 years ago

Version 1.1.0 contains the binding to PxActor.setActorFlag()