I have a Interpolate and Collision problem...

AxehammerAxehammer Member Posts: 3
edited November -1 in Working with GS (Mac)
Hi guys and girls.

This is my first post but I've been hanging around here for a while now picking up tips as I learn the software.

Anyways, I have an actor that is using Interpolate to increase its size, but the problem is other actors arent recognising a collision untill it reaches the end of the Interpolate duration. Is this normal and is there anyway to get around this so that Collision can still be detected while its growing?

Thanks in advance for any help.

Axe.

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    To recognise collision, one of the colliding actors must have 'move' ticked in its attributes.

    For example:

    If I have a bullet interpolating upwards, and it hits an enemy interpolating downwards, it won't register a hit properly.

    One of those actors would have to have 'move' ticked for a collision to take place.

    Hope that helps,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • AppsRacKAppsRacK Member Posts: 346
    Axehammer said:
    Hi guys and girls.

    This is my first post but I've been hanging around here for a while now picking up tips as I learn the software.

    Anyways, I have an actor that is using Interpolate to increase its size, but the problem is other actors arent recognising a collision untill it reaches the end of the Interpolate duration. Is this normal and is there anyway to get around this so that Collision can still be detected while its growing?

    Thanks in advance for any help.

    Axe.

    well thats how interpolate works. It wont detect any collision until it reaches its target variable. If you want continuous collision detection while changing size i suggest you use change attribute behavior along with timer.
  • AxehammerAxehammer Member Posts: 3
    Thanks for the replies,

    Will changing an attribute with a timer create the same growing effect as interpolate?
  • AxehammerAxehammer Member Posts: 3
    This is really confusing...

    I have 2 identical 'guns' which spawn 2 identical actors which in turn interpolate to a larger size. 1 of these actors destroys anything that touches it from the moment its spawned, and the other will not register a hit until the interpolation duration is over.

    Can anyone speculate or give insight as to why this is?

    Axe.
Sign In or Register to comment.