• Register

A quirky exploration game where you play as a robot trying it’s best to plant life on various unforgiving planets. Discover and experiment with different components to fix the atmosphere and terrain on each planet in any way you can.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Seed Projectiles

News

ezgif 2 b7b58e9c9f18

Hello!

Discussed is the mechanic to throw seeds. The projectile actor class follows the same structure as that of the “First Person” Example template from Epic, with a few modifications:

Custom Ground Collision:

Seeds should only be destroyed on collision with the ground, so we used a custom SurfaceType (assignable in Project Settings > Physics), and spawned plant actors with a simple animation when colliding with the ground. The animation was done using a timeline in blueprints.

One issue was ensuring Collision Component for the Projectile has bReturnMaterialOnMove enabled. This gives the physical material we use to identify the ground when the HitComponent() Event is triggered.

image

Seedling:

Wheat

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

X

Latest posts from @plantthatwheat

So happy to be done with meshing and onto gameplay after so long of putting this project off. Here's some digging w… T.co

Jun 27 2023

Finally moved everything over to compute shaders and we're blazing: SDF on Burst, chunks on GPU, & collision genera… T.co

Jun 11 2023

Testing overlapping octrees for LODs using dual contouring. #screenshotsaturday #indiedev #gamedev T.co

May 27 2023

Deep in optimization hell for a few weeks. Current attempt involves caching the unmodified octree nodes (Dual Conto… T.co

May 22 2023

RT @cloudydaysgame: Mood board for the Great Sea, Limbo, and the River to Sheol #screenshotsaturday #cloudydaysgameT.co

Oct 2 2021

RT @cloudydaysgame: Samyaza - Fallen Angel Chief. #screenshotsaturday #cloudydaysgame Instagr.am T.co

Sep 25 2021

RT @cloudydaysgame: Player-owned house concept #cloudydaysgame #indiedev T.co

Sep 19 2021