Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
Capsule collisions shape and edges
Post Flair (click to view more posts with a particular flair)
Post Body

I have a character using a capsule collision shape and it is working great except for one flaw: when the character lands on the edge of a tilemap and begins to slide off, it will rapidly switch between is_on_floor() and not. This causes my state machine to switch between air/idle a billion times a second until the character fully falls off the edge.

Has anyone come across this issue before and if so, how did you solve it?

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
186,661
Link Karma
8,910
Comment Karma
176,210
Profile updated: 4 days ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago