Check out my new procedural modelling bundle: https://www.nodegroup.xyz/procedural-...
In this session we're having a look at the self-playing block breaker / pong game people have been making on Twitter recently but reimagining it in simulation nodes for Blender 4.X.
You can definitely push this further, for example you might solve the colision position to prevent multiple collisions in the same bounce, you might add multiple balls on each side, change the shape of the playing field, or even make it 3D! So much to play with, so little time.
Grab my final file here: / 97450837
$40 off a holographic display? Yes please. https://look.glass/erin
Geometry Nodes Toolkit: https://gum.co/erintools
Merch? https://erindale.threadless.com/
Discord: / discord
My Courses:
https://www.futurly.com/s/store/cours...
https://www.canopy.games/p/advanced-g...
https://www.canopy.games/p/bcs-geomet...
https://www.canopy.games/p/procedural...
Contents:
00:00 - Intro
00:36 - What are we making
01:10 - Scene setup
02:10 - Creating the points
03:40 - How simulation nodes work
04:23 - Moving the points
07:10 - Creating the grid
09:15 - Creating colliders
16:15 - Bouncing off colliders
23:20 - Visualising objects
25:29 - Updating the score
26:37 - Read the collider block index
28:54 - Read hit index onto grid
31:50 - Detect correct collision
34:30 - Fake "for each" loop to score both points
38:00 - Keeping score
Patreon: / erindale
Ko-fi: https://ko-fi.com/erindale
Twitter: / erindale_xyz
Instagram: / e.r.i.n.d.a.l.e
Gumroad: https://gumroad.com/erindale
Blender Market: https://blendermarket.com/creators/er...