GameMaker Studio 2 (2.3)

Paths in 3D


You must be logged in to obtain assets


A 3D path resource. Aims to be as similar to the built-in path resource as possible, except in 3D.

The result of this YouTube video:

Forum topic:

//Create a new 3D path like this:

path = new path3D();

//Add points to the path like this:

path.addPoint(x, y, z);

//Read from the path like this:

var pos = path.getPos(pathPos); //where pathPos should be between 0 (start of the path) and 1 (end of the path)

x = pos.x;

y = pos.y;

z = pos.z;

//You can also give the path points custom properties like this:

var point = path.addPoint(x, y, z);

point.speed = 100;

//And interpolate between the custom properties like this:

var pos = path.getPos(pathPos);

var pathSpeed = pos.A.speed * pos.Aw + pos.B.speed * pos.Bw + pos.C.speed * pos.Cw;

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2.3 - Version 1.0.0. Published June 4, 2021

First commit!

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait