Strange code ;p

gregaras 101 Jun 14, 2011 at 09:50

Hello, there. I’m a new member. ;)

I came here to show a strange code, I’ve got in Unreal Engine game called Mobile Forces. That’s a code of physics collision called Ball (Not Unreal Script):

pos = 0.0 0.0 0.0
radius = 0.5
component = CT_CHASIS
type = COLT_BODY
material = SMT_RUBBER


How this code works on ball model:

The file is called Ball.COL.

Maybe a really dumb question, but, how to understand this code? Is there any tutorial about it?

Big thanks.


1 Reply

Please log in or register to post a reply.

fireside 141 Jun 14, 2011 at 14:25

Those are basically fields that you fill in to give the engine the required information to make the ball act in the physical environment. I don’t know if this is UDK or what? but you would need to find a tutorial on the physics part of the engine by doing a Google search or checking the engine site. It’s not exactly code, it’s more like filling in a label.