Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Tarodev 2D Controller.unitypackage

Missing 2 full-res photos, 1 file, as this post has not yet been imported.

Content

April 2023 Update:

  • Dash cooldown
  • Crouching and wall-facing bug fixes
  • Added an example custom controller to demonstrate overriding
  • Made the base controller easier to override

Files

Previews only

Comments

Piotrone

Love it! BUT! Could you please add somewhere (in a readme?) that one have to change the Fixed timestep from the default (0.01) to 0.02? I spent hours hairsplitting code because I wasn't getting consisting between my project and yours. BUT! I love this controller and how well structure your code is!

Piotrone

Scrap that, I just checked and the default is 0.02. I probably changed it to 0.01 and forgot about it. Sorry for comment!

Israel Mtz.

That's pretty cool! I have an issue I've been scratching my over with. The character doesn't seem to cling to walks and do that kind of stuff oncee I make the collision boxes bigger (for a bigger sprite). What coudl be the issue here? I also make the detection threshold bigger

ShaolinDave McAlias

On the controller script, there's a scriptable object called "Tarodev Stats". Open that up in inspector and increase the X, Y values on the "Wall Detector Size" fields.

Brandon Kino

Thanks for this, i really apreciate, where i can find the repo for documentation?

Simone Avogadro

I too would appreciate some pointers: the posts seem to hint to a git/bitbucket repo and surely some documentation would greatly simplify the usage! (I see the asset contains a complete example: very useful!)