Files

> > CS2D > Lua Scripts > [EngiN33R] Player Collision
Files overviewCS2D overviewLua Scripts overview

English [EngiN33R] Player Collision >

21 comments2 kb, 556 Downloads

old [EngiN33R] Player Collision

EngiN33R
Moderator Off Offline

This is an extremely simple and short script that makes players unable to pass through each other. It was also designed as an educational tool to demonstrate some of the mathematics commonly used in CS2D scripts. The entire script is 16 lines long and provided in the description below because of its small size. Be aware that this collision mechanism may be slightly confusing and may not work ideally for players with a high latency.

I welcome any and all questions regarding how it works, and any improvements to it as well - bear in mind, however, that this is not the end-all solution, but a simple script that enables basic collision functionality.

Code >
edited 2×, last 17.07.16 01:21:49 pm
Approved by GeoB99

Download Download

2 kb, 556 Downloads

Comments

21 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Baloon
GAME BANNED Off Offline

First like. Good job.
I like it!
To the start Previous 1 2 Next To the start