Skip to content

David Ball's blog

Procrastinator of many things

  • Twitter
  • Facebook
  • Instagram
  • Email

Recent Posts

  • Things I’ve worked on in 2018
  • Working again on that WW1 biplane game with the silly name
  • BotSumo now available on Kindle Fire
  • CSS tricks that I keep having to remind myself about
  • BotSumo is now available on iPhone

Subscribe to Blog via Email

Random Web dev/UX Posts

  • CSS tricks that I keep having to remind myself about
  • Forcing a div to retain aspect ratio, but also expand if there’s more content
  • Overriding a pesky parent selector with ninja specificity

Random Web Dev Posts

  • The internet, a living graveyard
  • Don’t do “skip to content” links wrong
  • My CSS layout – group by component, not by screen-size

Random Game Dev Posts

  • I finally pressed the “upload to app store” button
  • Things I discovered about Unity as a web developer
  • The 1st review of Mega turd

Tag: Unity collisions

Unity – Detect gameObject’s tag via OnCollisionEnter()

Unity – Detect gameObject’s tag via OnCollisionEnter()

I’ve struggled for a long time with Collisions in Unity, and for some reason avoided using the OnCollisionEnter() function, and favouring OnTriggerEnter() instead. Continue reading Unity – Detect gameObject’s tag via OnCollisionEnter()

Posted on March 6, 2016March 6, 2016Categories Game devTags Unity, Unity collisions
Proudly powered by WordPress