top of page
Search

Runner Update 1.21.2022- An Imported Model and... Buoyancy?!

  • Writer: readypercival
    readypercival
  • Jan 21, 2022
  • 1 min read

I added a capsule-shaped collider to the player's model that's supposed to keep it upright without tumbling over, and a player model from the Unity Asset Store! It's a spiked slime for now since I tried a dog knight and a robot, but neither were simple enough to assign my player's mesh to. I don't fully understand Unity project hierarchies or how to properly import assets yet, so the polygons on the model stand out due to the game's use of deferred rendering (instead of forward).


The imported model's tilted 90 degrees forward, so I rotated the player 90 degrees back to account for this. Sadly, this breaks all physics including the capsule collider, so the whole thing clips through the ground like crazy.


Jump input's broken for now. This happened because I moved the jump to its own private, dedicated lines of code instead of being frame rate-based like it was before (which was causing it to miss inputs), so it needs a bit more work.

At least the PBR (physically-based rendering) material that came with the model works right!

 
 
 

Comments


bottom of page