Announcement

Collapse
No announcement yet.

A Karma based barrel to shoot around...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by BabyNuke
    http://udn.epicgames.com/pub/Content...ExampleUT2003/

    Download that example map
    And that helps how exactly?
    I dont think you read any of this thread.

    Comment


      #17
      Has two pipes that can be blown around. It's a nice example, ain't it?

      Comment


        #18
        Originally posted by legacy-Mr Evil View Post
        Code to make Karma work online is available on the Wiki: http://wiki.beyondunreal.com/wiki/KActor_Replication

        A very simple bit of code to make KActors pushable by players:
        Code:
        simulated event Bump(Actor Other)
        {
        	if(!bPushable || Other == None)
        		return;
        
        	if(VSize(Other.Velocity) < 0.001)
        		return;
        
        	KAddImpulse(Other.Velocity * Other.Mass * PushFactor, Other.Location);
        }
        Note that that is a very simplified model that is nothing like the real laws of physics.
        this is a stupid question but how and where do i use that script code?

        Comment


          #19
          huge necro!

          Comment

          Working...
          X