Player tool model
Author: danger726,
published 3 years ago,
As I mentioned in the previous post, I'd started to mock up some ideas for the player character's tool model. To keep things simple I decided to just have a single "universal" tool, and over the past couple of weeks I've been developing this idea further.
[h3]The model[/h3]
I wanted something relatively compact that wouldn't get in the way, but still could provide useful feedback to the player. I settled on an appearance that references VR controllers and the like, and also takes inspiration from some great ideas from the GearBlocks community!
First step was to model it in Blender. My modelling skills are rudimentary at best, so I like to keep things pretty simple, but I think it turned out OK.
[img]https://clan.cloudflare.steamstatic.com/images//37970304/ee49fe0b92149ecff37b1f87b91f791b05e29fa4.jpg[/img]
[img]https://clan.cloudflare.steamstatic.com/images//37970304/995488139cf69d0538b87f4b184b5fab70b136e0.jpg[/img]
By the way, the handle has the same radius as an axle in the game, and is designed to fit into the player character's hand!
[h3]Status display[/h3]
Then after dropping the model into the game, I got to work implementing a status display for it. This uses the Unity UI system with a world space canvas positioned just behind the tool's transparent screen. I customised the UI shader slightly so that the UI elements are emissive with an HDR colour, making the display glow brighter than its surroundings (looks pretty cool at night!)
[i]Builder tool display, mostly empty right now, but in the future will show the status of some options that I'm planning on adding:[/i]
[img]https://clan.cloudflare.steamstatic.com/images//37970304/0e25ba6a64bfeaf92fb24262051623f1cc6a982c.jpg[/img]
[i]Material tool display, shows the currently selected material:[/i]
[img]https://clan.cloudflare.steamstatic.com/images//37970304/d66bc2a7466d2e2b5488d4f0fbee8d8cff525f28.jpg[/img]
[i]Linker tool display, shows which link types are currently selected to be edited:[/i]
[img]https://clan.cloudflare.steamstatic.com/images//37970304/6ee6b076c55a7f13318edd6865ff83027f2ff63b.jpg[/img]
[i]Painter tool display, shows the currently selected paint colour:[/i]
[img]https://clan.cloudflare.steamstatic.com/images//37970304/c9c9432287f86db85f181397fd9c9705686f2512.jpg[/img]
[h3]Particle effects[/h3]
Lastly, I worked on improving the builder tool "energy beam" effect a bit, and added another effect (a glowy sparks thing) to represent the source of the beam.
[img]https://clan.cloudflare.steamstatic.com/images//37970304/e3801e5617751e7ed8355446b30e6c005054d9c8.jpg[/img]
I also trigger the glowy sparks effect when the material or painter tool are changing things (I've removed the old paint spray effect). I'll probably have to revisit these effects (improve their appearance, maybe add sounds etc.) but for now they're a decent step in the right direction.
This video shows everything in action:
https://www.youtube.com/watch?v=wdq8Cz3F4Y8
OK, that's it for this update. Thanks for following along this year, for your invaluable feedback, and as always, thanks for your patience with my slow pace of development! :)
Happy holidays to you and all the best for the new year (here's hoping it will be an improvement on 2020!)