Jump to content


- - - - -

Strange code ;p


1 reply to this topic

#1 gregaras

    New Member

  • Members
  • Pip
  • 1 posts

Posted 14 June 2011 - 09:50 AM

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: .

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

#2 fireside

    Senior Member

  • Members
  • PipPipPipPip
  • 1590 posts

Posted 14 June 2011 - 02:25 PM

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.
Currently using Blender and Unity.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users