virtueone            
  home     support     info  

 


                
New Experiment - Posted on: 5/15/2018   [Uncategorized]



I figured out how to make the objects bounce off colliders! This short animated gif shows how the two enemy types can be contained inside different shapes constructed by box colliders.

I accomplished this by casting a ray from the objects direction of motion, and then checking the normal direction of the collision, then compare and update the objects vector direction.

I forget to make the object ignore itself, so it didn't work until I realized that, which was extremely frustrating at first.

This component, with the "door" component and new enemies should make for some more interesting game experiments!




<< Back to main news page


     
Fishing game updates... 3/20/2019
I succeeded in making a simple grass shader...
Fishing game updates... 3/19/2019
I worked more on the interface before going to sleep...
Fishing game updates... 3/19/2019
Started working on the shop...
Fishing game updates... 3/18/2019
I think I'm happy with the shader updates now...
Fishing game updates... 3/17/2019
I've spent the last couple days struggling with shaders...
Fishing game updates... 3/14/2019
Minor updates...
Fishing game updates... 3/12/2019
Waving shaders...
Fishing game updates... 3/11/2019
I worked more on the rope physics and made new lures...
Fishing game updates... 3/9/2019
I made a shop...
Fishing game updates... 3/7/2019
Just a few updates today...
Site created and maintained by kreediddy. © 2010-2019. kreediddy.