virtueone            
  home     support     info  

 


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



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


     
Euphorica updates... 8/13/2019
Lots more updates...
Euphorica updates... 8/11/2019
Adding a game over ui element with stats...
Euphorica updates... 8/2/2019
I worked on many updates...
Euphorica updates... 8/1/2019
I made several nice updates to Euphorica...
Euphorica updates published... 12/13/2018
After working on updates for a couple weeks, I've published the latest version of Euphorica for my patrons.
Euphorica updates... 12/12/2018
Even more updates and improvements to Euphorica...
Euphorica updates... 12/10/2018
More updates and improvements to Euphorica...
Euphorica updates... 12/9/2018
More updates to the Euphorica project...
Euphorica updates... 11/26/2018
I resurrected the Euphorica project...
New Experiment 5/16/2018
Updated enemy dots, so their movement can be blocked by walls and other objects. Also fixed an issue with raycasts self-colliding.
Site created and maintained by kreediddy. © 2010-2020. kreediddy.