Thanks!
Yes there is a simple one that shows making ball and cube actor in code.
I said pong to keep it as simple as possible, but I'm actually making an arkanoid.
I would like the editor to layout the bricks for the level. And the ball is a slightly more special object that I want to place inside the editor as well. I've assigned the ball a special physics material as well.
So I shall need to make an object class for my player, then one for bricks - probably more later.
So, if my ObjectClass was Player in code. And the Object in world was a "RoboHead" object. What might some code look like to make an ObjectClass based off the existing instance of RoboHead? Them maybe how would a line of code look like to set this physics object angular velocity for example?
Even more fun, how do I get access to all of my bricks in code? I'd need to know how many, etc.
That's my disconnect. I don't see how to talk to my level objects.
I feel silly, but it just hasn't clicked yet. I suspect that my mind has been to washed by other engines! I'm too blind to see it!
If it helps (everyone's seen arkanoid!) here's a screen shot of what I'm setting up.
It's flat terrain. The RoboHead has a ball body and ball physics material.
https://www.dropbox.com/s/53ulxh2unbrf1l...2.png?dl=0
(Insert image button doesn't work for me..!)
Thanks!