Announcement

Collapse
No announcement yet.

Overlap Preventing SpawnActor

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

  • replied
    Originally posted by Mentos View Post
    Hey I tried that again and it worked. First time I tried it I must not have had my collision settings where I thought they were and assumed it had no effect.

    Thank You!
    Glad i was able to help out.
    Happy programming.

    WCode

    Leave a comment:


  • replied
    Hey I tried that again and it worked. First time I tried it I must not have had my collision settings where I thought they were and assumed it had no effect.

    Thank You!

    Leave a comment:


  • replied
    Hey i think its due to the Spawn parameters.
    Take a look at.
    Code:
    FActorSpawnParameters::bNoCollisionFail
    Try setting it to false and it should do the trick.

    Leave a comment:


  • started a topic Overlap Preventing SpawnActor

    Overlap Preventing SpawnActor

    If two objects have their collision response set to Overlap should this prevent SpawnActor from spawning one on top of the other?

    I have a WeaponDrop actor that represents a dropped weapon in the game that is set to 'Overlap' the Pawn actor. The Pawn actor is set to overlap the WeaponDrop actor. When I attempt to spawn the WeaponDrop actor at the location of the Pawn it fails. If I set either of the collision channels to Ignore the other it succeeds.

    Is this the intended behavior of Overlap and SpawnActor?
Working...
X