You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//@BP Mod - Custom flags, currently used to enable backface culling on tri-meshes, see btRaycastCallback.h. Apply any of the EFlags defined there on m_flags here to invoke.
This discussion was converted from issue #2275 on April 26, 2021 03:54.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that the raycast operations support collision filtering.
I think this these are the flags that need to be set:
bullet3/src/BulletCollision/CollisionDispatch/btCollisionWorld.h
Lines 199 to 201 in 7a7652f
which are checked in
needsCollision
bullet3/src/BulletCollision/CollisionDispatch/btCollisionWorld.h
Lines 224 to 225 in 7a7652f
which is invoked here:
bullet3/src/BulletSoftBody/btSoftMultiBodyDynamicsWorld.cpp
Line 220 in 7a7652f
It seems the opportunity to set the flags is here:
bullet3/examples/SharedMemory/PhysicsServerCommandProcessor.cpp
Line 5288 in 7a7652f
Does this seem right? If the API were to be extended, that's where it would be?
Beta Was this translation helpful? Give feedback.
All reactions