Skip to content

AGS 4: script functions for getting local object coordinates #2867

@ivan-mogilko

Description

@ivan-mogilko

Because in AGS 4.0 game objects may be rotated, it becomes difficult for the user to script getting relative object's pixel from the known screen/room coordinates. We should add member functions, similar to ScreenToRoomPoint, but they will convert from the coordinate space in which the object is positioned (screen or room respectively) to object's relative coordinate; and the one that does opposite conversion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions