Home Artists Posts Import Register

Content

Finally dealt with the main point I wanted to address on the gameplay side of the deal, before getting a new build to you guys~

The new hit detection script is 100% accurate, and that only required a handful of lines.
If the collider area of an enemy/object (ABCD polygon) equals the area of the 4 triangles around the hit point (X), the attack connects.

ABCD = AXB + BXC + CXD + DXA whenever the hit is in range👍

Now I can get back to...

Files

Comments

No comments found for this post.