edited March 2015 in ORK Support
I'm trying to switch my project from ORK1 to ORK2 (ORK Framework).
I have a custom character controller class that iherits from PlayerController class of ORK1.
Now I want to rewrite it for using with ORK2. I've read this howto, but it hasn't any useful info about CODING a custom controller: http://orkframework.com/howto/2014/02/01/custom-playercamera-controls/
I checked that when I use "Player Conrol Type = Button" in ORK2 settings, it attach ButtonPlayerController script to player during runtime. This class loooks simular to PlayerController class from ORK1. Can I inherit from it? If so, how? Or maybe I'm doing completely wrong? If so, show me the correct way.
  • edited March 2015
    Yeah, it's basically the same control as in ORK 1, so you can just inherit from it like before. Just remember to use the namespace to get access to it:

    using ORKFramework.Behaviours;
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.