Comments (6)
Actually the simd-stable also doesnt work with web. Disabled that in this PR #46 to see if it works. Will update if it works. Am investigating still tho.
from godot-rapier-2d.
By removing the call to step from rapier code, it works. So the problem is the world_step function and what it does most likely.
I think first I would need to keep on removing stuff from step and see what causes it (my guess is it's the callbacks or their signature).
from godot-rapier-2d.
Hi! Any update on this?
from godot-rapier-2d.
From what i see the linked issue is still open. So probably still wont work
from godot-rapier-2d.
Small update on this. Make it start at all. Before it didn't want to load the dll, now it loads it, but at the step function it throws in the browser:
Aborted(Assertion failed: bad function pointer type - dynCall function not found for sig 'vijiiiiiiiiiiii')
$world_step
$_ZN13RapierSpace2D4stepEf
I am building locally with emscripten 3.1.56, but will try with other version to see if it works with any. Godot GDExtension uses 3.1.45, with that it doesn't load at all.
from godot-rapier-2d.
Ok, on this, I looked at what godot-rust is doing, and they have web exports working. So I think migrating this addon to be a godot-rust gdext would give us web exports.
Issue link where they describe how they added support for building web exports:
godot-rust/gdext#438
from godot-rapier-2d.
Related Issues (20)
- Invalid shape exception when collision shape is disabled
- Problems with velocities, default body rotation, colliders get stuck, events not getting called, etc. HOT 4
- Player object in space shooter bullet speeds are much slower and aren't registering hits. HOT 21
- Rapier2D doesn't work the same as Default with Physics Materials Godot 4.2.1 mono HOT 4
- Deactivated collider and/or collider shape doesn't deactivate. HOT 1
- Rigidbody 2D with no damp still slows down HOT 2
- DOCUMENTATION.md seems to be missing. HOT 1
- Rewrite addon to rust/gdext HOT 1
- Use a data holder and send it through layers
- Game engine hangs in scene with StaticBody2D with a WorldBoundaryShape2D HOT 8
- Setting a CircleShape2D's radius inside a script does not update the physics engine. HOT 4
- CharacterBody2D colliding with a CollisionObject queued for deletion causes a crash HOT 1
- Area2D does not scale with parent HOT 2
- PinJoint2D - Rotation very stiff HOT 10
- intersect_shape with a circle with it's origin inside rectangle fails to detect collision HOT 3
- Condition "monitored_objects.has(handle_pair_hash)" is true HOT 9
- Area2d Effect not working on pinned objects.
- Rapier incorrectly returns null on state.GetContactColliderObject
- Collision excepted bodies still interact when under continuous collision detection.
- Angular velocity on Rigibody2D is not working. HOT 1
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 godot-rapier-2d.