Skip to content

Extending object support (Move, textures, etc.) #88

@AdamsLT

Description

@AdamsLT

Currently, you only receive an index for objects that you create with _DC functions.
To texture them, you need their object ID which is not accessible currently (static array with no getter) - make it accessible. Would also be useful for other things that require object IDs (material text, targeting/shooting objects, etc.)
Would need to keep in mind that players could delete the object or do unwanted stuff with it outside of ColAndreas.

Also, creating MoveObject, MoveDynamicObject wrappers would be nice. Would let you move the collisions smoothly instead of making them jump between positions with CA_SetObjectPos_DC and CA_SetObjectRot_DC. Would be useful for places like gates/lifts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions