1. #1

    Noobie help with Object Rotation

    Hello,

    I'm having a bit of trouble with rotating an object as the bike lands on top of it.
    I'm trying to get a column to rotate about 30 degrees over a couple of seconds.

    I've attached a Curve Data Source to the yaw of the Object Position Event, start 0, end 30, duration 92 (1.5 seconds).
    I've then attached the OPE to the column and a Hit Trigger from the column to the OPE, like so:

    [CDS]
    /
    [OPE]-[HT]
    \_____/
    [Column]

    The problem seems to be that the data source starts running as soon as the game starts, goes up to 30, then when the bike lands on the column it just snaps to 30 degrees instantly.

    I can't work out how to delay the data source until the bike lands on the column.

    Please help a noobie out
    Share this post

  2. #2

    Re: Noobie help with Object Rotation

    disable the cds

    now place an area trigger(or a different trigger)
    connect it to a state event so it turns on the cds when you want it to start
    Share this post

  3. #3

    Re: Noobie help with Object Rotation

    Okay, what I've done is.

    CDS disabled
    Hit Trigger, Set Hitting Objects 2 to the column -> On Hit -> State Event
    State Event set to On.
    Select Event Targets -> CDS

    But now nothing seems to happen when I land on the column.
    Share this post

  4. #4

    Re: Noobie help with Object Rotation

    Your OPE needs a trigger still. Get an interval trigger, set the interval to 1 tick and target the OPE.
    Share this post

  5. #5

    Re: Noobie help with Object Rotation

    Originally Posted by JaminBen007
    Your OPE needs a trigger still. Get an interval trigger, set the interval to 1 tick and target the OPE.
    Ahhh thankyou!
    All working now, simple in the end
    Share this post