Questions tagged [babylonjs]
JavaScript framework for building 3D games with HTML5 and WebGL.
babylonjs
483
questions
0
votes
0
answers
21
views
Using @amazon-sumerian-hosts/babylon in my angular project, facing issue to load the character in DOM getting error host.AnimationFeature is undefined
Using the npm i @amazon-sumerian-hosts/babylon in my angular project, facing issue to load the character in DOM getting error host.AnimationFeature is undefined
enter image description here expacting ...
0
votes
0
answers
15
views
App Crashes on a particular screen with Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)
I am working with BabylonJS in React-Native Android app, and everything was working fine until I added a release build by creating a keystore and other steps that it requires and now it just simply ...
0
votes
0
answers
9
views
BabylonNative.a[arm64][2](BabylonNative.o)) built for 'iOS'
I'm getting this error when I try to run on iOS:
Building for 'iOS-simulator', but linking in object file
(MY_PROJECT_PATH/node_modules/@babylonjs/react-native-iosandroid-0-71/ios/libs/...
0
votes
0
answers
20
views
The rotation point for the BabylonJS sprite
I recently encountered a problem with the Pivot method for BabylonJS frame sprites, it does not exist :D I would like to ask if anyone has encountered a similar problem and how to set the rotation ...
0
votes
0
answers
15
views
Error Loading GLB File with Shape Keys in Babylon.js
I encounter an issue when exporting a Blender file to GLB format and loading it in Babylon.js. The error only occurs when I select all shape keys during export. If I do not select all shape keys, the ...
3
votes
0
answers
63
views
Can I use a GPUBuffer which is the output of a compute shader as a Three.js or Babylon.js vertex position buffer?
I am experimenting whith webgpu. I found out that transferring data between cpu and gpu can be quite slow.
My goal is to simulate particle physics on the gpu using webgpu's compute shaders, then use ...
0
votes
0
answers
23
views
Wrapping 2D mesh on top of another 3D mesh (BabylonJS/ThreeJS)
Is there a way to wrap (not just position and rotate) a 2D mesh (mesh with no depth - monogram) on top of some 3D mesh in BabylonJS or ThreeJS in a way that would distort the 2D mesh that would fit ...
0
votes
0
answers
24
views
libc Fatal signal 11 in Android BabylonJS React Native
I'm getting this error below when running on emulator:
libc Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr
0x7b03a8c6f4 in tid 10945 (mqt_js), pid 10810
If I run on a device I get
...
0
votes
0
answers
29
views
need add physic ammojs and babylonjs (glb models)
I want to set my tera model as a map landscape, but tree goes through it.
I use babylonjs and ammojs-typed.
I need help, don't know what to do.
What I need is for the tera model to be a physical body ...
0
votes
0
answers
16
views
How to change camera direction in babylonJS?
I have a and array of cameras streaming videos.
i need half of them to use useRightHandedSystem, and the other half to use useLeftHandedSystem.
But when I do Scene.useRightHandedSystem = false, it ...
0
votes
0
answers
23
views
how to load gltf files in a Webpack 5 app?
I am starting a project with babylon js and webpack 5 and I have to load some gltf files in my project but I am always getting the following error Failed to load resource: the server responded with a ...
0
votes
0
answers
22
views
is there a code for zooming an output in babylonjs code
I actually wrote a babylon code for loading a babylon file using input tag.I got the output but i cant zoom my mesh using my mouse.I used arcrotatecamera.Code below.
I used arcrotaecamera itself . I ...
0
votes
0
answers
20
views
babylonjs virtual joystick and scene actions
I have a babylon.js project. I am using virtual joystick.
` var leftJoystick = new BABYLON.VirtualJoystick(true);
BABYLON.VirtualJoystick.Canvas.style.zIndex = "4";
var movespeed = 5
scene....
0
votes
1
answer
24
views
How to wait for async function inside sync
I have a function in a class here which runs every frame (in babylonjs). its purpose is to load 3d tiles and set the mesh.
if (!mesh) {
// this.loadTile is async!
const newTile = this.loadTile(...
1
vote
1
answer
26
views
Mesh Not Displaying with `setVerticesBuffer`, But Displays Correctly with `VertexData`
Problem Description:
I am encountering an issue while developing 3D graphics with Babylon.js. I attempted to set mesh vertex positions directly using the setVerticesBuffer method, but the mesh does ...