Comments (8)
Looking a bit more into this, is this covered by #5?
from ode4j.
Yes, it would be covered by #5, except that this is unlikely to happen anytime soon (unless someone volunteers to do it).
Maybe you can use DTriRayCallback
instead?
from ode4j.
I do not know the reason for this, it maybe an oversight. I think it may be easy to implement. Do you have a good workaround.
While it should be easy to do, it would be another deviation from the original ODE, which I try to keep at a minimum. If you cannot find a good + easy workaround, let me know and we can add it.
from ode4j.
I did find a workaround. I separated my existing trimesh into separate trimeshes for each collision type, so I can check which trimesh was collided with to get the collision type, as opposed to looking up the collision type for the specific tri I collide with.
from ode4j.
The biggest problem, in my opinion, is that Callback
is a required argument for creating a DTriMesh
, but then it's unused.
from ode4j.
@Gaming32 I implemented a fix + tests, can you have a look whether it works for you? PR: #77
from ode4j.
The biggest problem, in my opinion, is that
Callback
is a required argument for creating aDTriMesh
, but then it's unused.
You should be able to use OdeHelper.createTriMesh(space, data, null, null, null);
.
from ode4j.
Trimesh callbacks have been implemented (except ArrayCallback, which has been deprecated).
OdeHelper now has a method to create trimeshes withou requiring callback arguments.
See PR #77
from ode4j.
Related Issues (20)
- Weird box behavior
- Support for HiDPI screens HOT 1
- Weird behavior in DemoCrash
- DVector3.cross() always returns 0
- Garbage collection - DContact HOT 15
- Garbage collection - step() HOT 3
- DxQuickStep: incorrect avel computation: tacc is scaled multiple times HOT 1
- Incorrect assert HOT 1
- missing helper methods? HOT 3
- Looks like instrumentation/debug code has not been removed HOT 3
- Move to Java 9 - User Poll/Question HOT 1
- Trouble compiling to Java 7/8 HOT 24
- Replace slf4j dependency HOT 5
- Setting axis to Y-up HOT 2
- DPlane.getQuaternion() fails with NullPointerException HOT 3
- Trying to see how DRay can be used to create a Raycast Vehicle HOT 4
- Fix regressions in 0.4.1
- Move to Java 8 HOT 1
- Move to lwjgl 3?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ode4j.