Results 1 to 3 of 3
  1. #1
    Marrow Fiend
    Join Date
    Jul 2006
    Location
    UT40k
    Posts
    4,183

    Default [Need Help] Vehicle camera yaw constraint

    ok this time i need help constraining the vehciles camera yaw value.

    i found that you can constrain the pitch value eg
    Code:
    ViewPitchMin=-14000.0,
    	ViewPitchMax=1.0,
    which are called in the seat code but are set in UTVehicle, but i can't find how to constrain the yaw, any help would be most greatful

    cheers Geodav
    UT40K:The Chosen - Warhammer 40,000 for UDK
    ut40kgeodav - UT3 Tutorials - Characters - Weapons - Vehicles - FaceFX
    UDK Tutorials - Basics - Vehicles - Characters - Weapons

  2. #2

    Default

    Did you ever find the solution to this one? I was thinking that maybe we can constrain the camera from the vehicle code by updating the seat[0] but there's no camera rotation in the VehicleSeat struct.

  3. #3
    Palace Guard
    Join Date
    Feb 2010
    Location
    Tegleg Records
    Posts
    3,627
    Gamer IDs

    Gamertag: tegleg digital

    Default

    check this out
    http://forums.epicgames.com/showpost...&postcount=298

    from that you can just constrain yaw like this

    Code:
    local rotator Rot;
    
     Rot.Yaw = Rotation.Yaw;
     Rot.Roll = 0;
     Rot.Pitch = Controller.Rotation.Pitch;
    
     out_CamRot = Rot;
    ps
    anyone any idea how to fix this?
    http://forums.epicgames.com/showthread.php?p=27673295
    Last edited by tegleg; 09-29-2010 at 11:39 AM.
    Code:
    We.spazmodicaly.simulate.new.sound.with.technical.equipment.that.is.specificaly.manufactured.for.humans.to.communicate.in.outer.space.Tegleg.manipulates.time.and.space.to.create.new.experiences.to.generate.a.hardcore.database.generation.
    Please ask questions in the forum, NOT a private message
    tegleg.co.uk
    My Tutorials n Stuff
    Games: Tegs Playground - Unwheel2 - VCTF Game - Sponic Mesh 3D - Shh.. dont tell anyone about my android apps.
    will code for money


 

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.