2 years ago

collision (pen 3d engine)

no picture yet, sorry


uses largely the same system for determining whether to stand, headshot, or collide with objects, just optimized for triangles.

for collision i used the formula to find if a point it within a triangle (the one that goes A1+A2+A3=A, with A representing area), and then a line intersection script to find the exact coordinateon the edge of the triangle to teleport the player to (they can't walk back in, but with a bit of manipulation of the velocity script they can walk out fine)

to find the floor level i used a somewhat similar process to the A1... thing, although i don't entirely understand the equation, although it was made specifically for 3d- basically i took it and isolated the y variable form it, the use all the other values to find it, and that's floor level

collision works the same other than that, it the player has a floor level and falls through it pull her out, otherwise collide with the walls



0 comments

Loading...

Next up

my spanish skills are not competent enough to understand what the guy is saying at 2x speed

i am never active on gamejolt

.

maked in 10 minutes :P if you use pls credit

cylindrical hitbox added

new tarkov style game in progress

made in TW using my engine flashback 2

GUN MODEL IS DRAWN BY @Fragg556

shakespear

kitty bro

wanna match pfp?

another random ass 3d engine that nobody asked for and nobody will end up using