Carlos Sánchez Cazorla (@CScazorla) header
Carlos Sánchez Cazorla (@CScazorla) profile picture

VP of Engineering at https://teapawt.net/t.co/usLANpmual

Sevilla
Joined April 2012
Por supuesto ... la lié. Programé un rebuild cada 15 min en Netlify. 1000 créditos mensuales. Duré 12 horas. Ahora los builds los hace GitHub Actions cada 30 min y Netlify solo sirve los ficheros. emergencias.live ya está de vuelta. De los errores se aprende!
28
Replying to @CScazorla @pikuma
My first spinning cube running on PS1 !!
1
1
26
8,585
Let's simulate a football freekick and see how this works! github.com/cscazorla/stan/bl…
98
A spinning object does a very curious thing as it travels through the air: it generates a force perpendicular to the flow velocity and spin axis. Let's add the Magnus effect to my engine
1
199
Implementing a helper for the drag force comes handy. github.com/cscazorla/stan/bl…
1
63
Now I can create a quick demo of a solar system github.com/cscazorla/stan/bl…
1
69
Let's start by creating a helper to handle gravity forces. We know that every object with mass exerts a gravitational force on every other object.
1
23
I am creating a helper to ease the creation force vectors simulating different effects
1
23
Quick example of a couple of forces acting upon two objects with different masses. github.com/cscazorla/stan/bl…
1
63
A particle accelerates based on the forces that are acting on it. They may come from different sources (gravity, drag, etc.). I'm interested in the final sum of all forces applied to the particle. The mass of an object determines how difficult it is to accelerate the object.
1
21
Now that I can handle accelerations, velocities and positions, it is time to introduce the concept of forces.
1
13
So I am adding a new box to my engine to run the physics workflow
1
32
This way, everytime the developer updates the position and rotation of an object the engine should cascade down the mesh and rigidbody. Conversely, when the physics system updates the physics body, the engine should cascade up these values to the mesh and object
1
12
Currently, I have multiple position and rotation attributes (Game Object, Three.js Mesh and Rigidbody). I would like to have just one pair of position and rotation attributes.
1
14