top of page
COZY COZY WORLD
I am an ordinary Japanese salaryman in his 50's.
The posts are mostly about my attempts at programming which I have taken up recently to maintain logical thinking.
And a bit about my travels around the country.
Home: ようこそ!
Search

Understanding 2D Physics Engines with Phaser 3, Part 23.1: Constrained Dynamics: Introduction
Introduction In this post I start to look into the deep world of Constraints and Constraint Solvers. You will appreciate why I say deep,...
cedarcantab
Jul 17, 20228 min read
40 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 22: Screen Space
In the prior post, we talked about the concepts of different frames of reference. Specifically, we talked about the local or model space,...
cedarcantab
Jul 5, 20223 min read
12 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 21: Local (Model) space vs World space
Local vs World space In this post I document the introduction of the concept of local space vs world space. Frankly, the concepts are not...
cedarcantab
Jul 4, 20225 min read
25 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 20: Clipping Method
Extending the Clipping Method to deal with Circles In the prior post we successfully completed the implementation of the clipping method...
cedarcantab
Jul 3, 20222 min read
7 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 19: Clipping Method
Finding Contact Points of overlapping Convex Polygons using the Clipping Method The separating axis theorem can tell us whether a polygon...
cedarcantab
Jul 1, 202210 min read
28 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 18: Collision Response with Rotation
Rectange to Rectangle Collision Response with Rotation In a prior post we looked at how to identify the contact point of two colliding...
cedarcantab
Jun 30, 20226 min read
20 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 17.2: Collision Response with Rotation
Capsule to Capsule collision response with rotation In the previous post I looked into how we can identify contact point(s) when two...
cedarcantab
Jun 20, 20225 min read
15 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 17.1: Collision Response with Rotation
Capsule to Capsule Collision response with Rotation Having dealt with the concepts of center of mass and mass moment of inertia, we...
cedarcantab
Jun 19, 20223 min read
34 views
0 comments

2D Raycasting using Phaser 3, Part 4
Exploring the Geom.Intersects.GetLineToPolygon method In my exploration of 2D raycasting using Phaser 3, I created simple 2D raycasters...
cedarcantab
Jun 12, 20226 min read
110 views
0 comments

Angular Momentum and Impulse
Momentum and Impulse Linear Momentum and Linear Impulse Linear momentum, typically represented by letter p - is proportional to mass m...
cedarcantab
Jun 10, 20221 min read
5 views
0 comments

Mass Moment of Inertia: Arbitrary Triangle
Momentum and Impulse In this post I try to explain how the moment of inertia of an arbitrary triangle may be derived (full disclosure:...
cedarcantab
Jun 9, 20222 min read
4 views
0 comments

Mass Moment of Inertia: Capsule
MMOI of a Capsule In this post we calculate the mmoi of a capsule. To calculate the mmoi of a capsule, we consider it as the sum of a...
cedarcantab
Jun 7, 20222 min read
2 views
0 comments

Mass Moment of Inertia: Rectangle
Before continuing our challenge to derive the mmoi for other shapes, I will introduce two important theorems that will help us as we deal...
cedarcantab
Jun 6, 20222 min read
10 views
0 comments

Mass Moment of Inertia (MMOI): Introduction
Angular Momentum, Moment of Inertia In prior posts we have discussed momentum, which we have assumed to be mass x velocity. In a world...
cedarcantab
Jun 5, 20224 min read
18 views
0 comments

Center of Mass of Lamina: Arbitrary Triangle
In the previous post we worked through the calculation of the centroid of an isosceles triangle. In this post we delve into the...
cedarcantab
Jun 1, 20223 min read
5 views
0 comments

Center of Mass of Lamina: Isosceles triangle
We will put the learnings of the previous post into practice by applying the principles to a triangle. Center of Mass of a Triangle We...
cedarcantab
May 31, 20221 min read
5 views
0 comments

Center of Mass and Centroid
In this first post (of what is likely to be a long series) I will delve into center of mass. Center of Mass Wikipedia defines center of...
cedarcantab
May 30, 20225 min read
8 views
0 comments

Sloped Tile Collision Detection in Phaser 3
Making Characters Climb Sloped Tiles After a long and tortuous journey I finally managed to get CozyPhysics engine to work with partial...
cedarcantab
May 28, 20228 min read
97 views
0 comments

GJK in Javascript, Part 1: Detect Overlap Between Polygons
Collision Detection using Gilbert-Johnson-Keerthi (GJK) algorithm Having looked at the Separating Axis Theorem (SAT), I look at another...
cedarcantab
May 26, 202213 min read
32 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 15: SAT - Line vs Circle vs Polygon vs Capsule
In previous posts I have dealt with checking for collisions of the following combinations: polygon vs polygon polygon vs line segment...
cedarcantab
May 15, 20222 min read
18 views
0 comments
Home: Blog2
Home: 配信登録
bottom of page