While developing a game, I wanted to enable the autonomous characters to see where they’re going – that is, to tell them what they’re about to stumble into, without using colliders. The answer was to cast a Ray, angled slightly downward, in front of the character, so it can see if it’s about to walk into a tree, or off a cliff, before it happens. Continue reading Unity – How to make things see where they’re going
Tag Archives: AI
Artificial Intelligence
Getting started with UnitySteer
UPDATE: The last 2 major releases of Unity adversely affected how UnitySteer steering behaviours play with non-kinematic RigidBody components. If you’re having trouble combining your physics with steering forces, see this enhancement I added, which may or may not become a pull request at some point (although I think the UnitySteer project is not actively maintained any more).
There are several AI steering libraries available for Unity, but I settled on UnitySteer due its similarity to OpenSteer for C++. Continue reading Getting started with UnitySteer
Vodafone ‘Mayfly’ website
How do you make the most of now?
I created this microsite for Dare Digital back in 2005, to promote a competition running alongside BBH‘s Vodafone ‘Mayfly’ TV campaign. Users can create a mayfly with a personal message attached, which lives for just 24 hours and wanders around the environment. The best life-affirming message won a drive around Monza with Michael Schumacher in his Ferrari – the power of NOW!The client was very happy with the site – it picked up a couple of awards, even an award for my little preloader animation. You can see the site here, but note that you can’t create your own mayflies any more and the competition is long since over.
Results
- FWA ‘Site Of The Day’
- Creative Review Annual 2006
- Over 10,000 mayflies created
- Over 500,000 visitors in 6 weeks
- Average dwell time of over 4 minutes
- 55% of users went on to visit the product section