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

i am never active on gamejolt

wow I've already abandoned my 3d engine and made a Minecraft clone and abandoned that and then started on a 3rd engine

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

Pumpkin.. Bleh I'm tired, its 2AM..

kitty bro

new tarkov style game in progress

made in TW using my engine flashback 2

GUN MODEL IS DRAWN BY @Fragg556

meow mow mow

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

I've started modelling the Slumber Dragon!

shakespear