Strange code ;p

E71e80ce4be230ec4eb0d1013e5e9624
0
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):

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

end”

How this code works on ball model: http://www.youtube.com/watch?v=RRtgxBhTTmY.

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.

Gregaras

1 Reply

Please log in or register to post a reply.

A638aa42130293f319eda7fa4ba121f4
0
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.