I tried to create a stacking game to demo to my students how Needle Engine works for games, but I failed.
Does someone have a quick demo how to add rigidbody with Gravity to a gameObject, and test if a gameObject collides with a trigger Collider Box to increment a score by one and display the score in a UI Text box, or reveal a “Game Over” text box?
Hey! So something like this: https://bruno-simon-20k-needle.glitch.me/ should “just work” (regular BoxColliders and Rigidbody in Unity) – which issues did you run into?
.
Thank you, thank you for adding Unity like collider support. That will be great.
In the 20K demo, what would be the easiest way to add a cube that, is either a trigger or collider that adds a score in a UI Textbox when any hat hits it?
If you can write it and send the cube and UI Textbox & TS script to me as an example in a Unity package that I can import, to study, I’d appreciate that to pass on to my students.
(Seems faster than you taking the time to talk me through it step by step).
@Darius Clarke I’m just adding callbacks that make working with collisions much easier and will try publish a new version and share an example with you later