Date: 11 Oct. 2021
Goal of this session
Destroy walls with a weapon and spawn wood objects that the player can gather when walking on them.
What we covered
- Trigger Redirecting...
- Damageable Objects https://docs.coregames.com/references/damageable_objects/
- Physics Objects Physics Objects Reference - Core Documentation
- Debris Physics (to make the roof fall) Debris Physics Reference - Core Documentation
- Weapons and handling finite amount of ammos Weapons Reference - Core Documentation
Replay
Timecodes of each part
0:00 Destroyable Walls
10:00 Physics Objects
19:30 Gatherable Resources and Triggers
27:55 Falling Roof
35:33 Ammo Pickup
38:40 Falling Roof improved (Debris Physics)
Template of the system
PBT file (drop it in your Core window and then drag and drop the template in your scene)