Results 1 to 2 of 2
  1. #1

    Question Programming of heavy vehicles

    How to make a heavy vehicle (it is difficult to move, its wheels slipping at the start).
    For wheels, I use
    Code:
    class MyWheel extends UDKVehicleWheel;
    
    const factor = 500;
    const factor2 = 1000;
    const WheelRadiusConst = 30;
    
    defaultproperties
    {
    	SuspensionTravel=10
    	bPoweredWheel=true
    	SteerFactor=1.0
    	LongSlipFactor=factor
    	LatSlipFactor=factor2
    	HandbrakeLongSlipFactor=factor
    	HandbrakeLatSlipFactor=factor2
    	ParkedSlipFactor=4.0
    	WheelRadius=WheelRadiusConst
    }
    For heavier vehicles set "density" in the physical material.
    However, even for very large values ​​of "density" a machine is not becomes slower and rises to almost any slope without slipping.

  2. #2

    Default

    Problem solved - LongSlipFactor to 15


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.