Search found 2 matches

by mizza
Thu Jan 30, 2020 6:41 am
Forum: Support and Development
Topic: Adjusting radius size in HardonCollider
Replies: 1
Views: 1797

Re: Adjusting radius size in HardonCollider

Update.

Managed to resolve this issue by creating my own function within HC's shapes.lua

Code: Select all

function CircleShape:radiusIncrease(r)
	self._radius = self._radius + r
end
by mizza
Wed Jan 29, 2020 9:58 am
Forum: Support and Development
Topic: Adjusting radius size in HardonCollider
Replies: 1
Views: 1797

Adjusting radius size in HardonCollider

Hello people, Currently 3 days into experimenting with Lua and Love2d, finding it splendid; I have found myself with a little bit of a problem. I am trying to detect collision between a 'playerCircle' and a 'enemyCircle'. Upon collision the enemy will disappear and the 'playerCircle' will grow in ra...