No announcement yet.

How to get actor collision (or bounds) with rotation?

  • Filter
  • Time
  • Show
Clear All
new posts

    How to get actor collision (or bounds) with rotation?

    There is function GetActorBounds(). When actor collision matches x and y axis - this function returns right coords of actor bounds. But if actor is rotated 45 degrees, i cannot draw real collision. This function returns maximum x and y in world space, but not match actual bounds of rotated actor
    Click image for larger version  Name:	image_177477.png Views:	4 Size:	4.4 KB ID:	1688609
    I want to get coords of every vertice of rotated collision of actor, but i can`t find a way.
    Last edited by Den Commander; 11-18-2019, 05:06 PM.

    That's what "bounds" means, you get object's total area. You won't be able to get rotated boundaries.
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |