Game
It Will Find You



5 years ago

It Will Find You - Devlog 6: Interactivity PT2


Hi Folks,

So part 2 of the interaction discussion that I began a few weeks ago. I’ve already gone over the basics of how the system works, with picking up, throwing and rotating objects, and the highlighting system.

Since I wrote that part a few elements have changed to better improve the immersive quality of the system and prevent obvious graphical errors.

One of the elements I had always thought was missing in the interaction system was reactivity to the environment, as in version 1 the object would just clip through anything it encountered while being held. (shown here with the folder in the car)

It felt bad and looked worse, so this was an obvious area for improvement.

This improvement began with a simple change, altering the Rigidbody mechanics associated with the interaction event. In version 1 I would simply set the Rigibody to kinematic when an object was picked up, preventing forces from acting on the object, hence the lack of reactivity. As this was clearly the initial problem, a simple rework to instead toggle whether the Rigidbody was affected by gravity or not, rather than kinematic, meant that the object could collide with the environment and would behave much more naturally (though collision between certain layers had to be set as ignored to prevent glitches e.g. colliding with the player). A bool-controlled lerp then kept the object in place, while allowing it to drift when the object collided with objects, meaning they could come off centre if they became stuck, and would reset when freed, vastly improving the realism of the system.

As collisions are not 100% accurate 100% of the time though, clipping could still occur. To fix this, alternate layers were used when an object was picked up that were not rendered by the main camera, but rather a secondary depth camera, meaning they always appeared to be in front of the object, as oppose to glitching through it.

These changes have improved the visual and game-play elements of the interactivity system drastically, and created a more realistic environment for each interaction to take place in.

So, onto the exceptions to the standard interaction systems. To allow for certain game mechanics, or narrative progression, 3 core exceptions were created for the interactions system: Books, Static Objects and Attached Items.

Books we’re the first obvious exception to the rule, as they had to be readable for both game-play and realism reasons. Initially I had considered physically creating books that could open with individual pages legible within, but this proved to be more than my 3D modelling skills could handle, and the results were fairly illegible regardless. The next option was to create a UI system to supplement the interaction system, and this was what I ended up choosing, using Book – Page Curl from the asset store, modified to fit my needs. Now when picking up a book, you could open a fully interactive reading experience that was clear to read, and easy to modify, giving me a variety of game-play options.

This has already gone on a long time again thanks to the new additions, so I’ll finish the final 2 exceptions and any new changes in part 3!

Until next time, thanks for tuning in!

Nick



0 comments

Loading...

Next up

It Will Find You - Devlog 10: How It Hunts

5 days until the launch of It Will Find You, and the next stage of the Captive Audience Saga!

It Will Find You - Devlog 3: From TV Set to Wild Woods

It Will Find You - Devlog 5: Environmental Effects

It Will Find You - Devlog 7: Static and Attached Items

Some new environmental screenshots from the latest build of It Will Find you!

If you want to come discuss the game, why not join our community!

Discord: https://discord.gg/bhgXgH

Facebook: https://www.facebook.com/ItWillFindYou/

Twitter: https://twitter.com/HeraldofLoco

It Will Find You - Devlog 9: Monster AI Part 1 - The Core

It Will Find You - Devlog 4: Interaction Systems

We made a lot of improvements on the Freezing Plains visual. Things like pine trees, tiny bushes, some rocks, and others game props!

#IndieGame | #IndieDev | #GameDev | #PixelArt | #WaifuQuest | #WifeQuest | #screenshotsaturday

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday