Skip to content

Pseudo-Ragdoll #10

@leilei-

Description

@leilei-

Concept:

In cgame, on death animation, pop up a new temporary entity in its place using the player model

Make a trace from the tag_torso to the theoretical feet position, and a trace from the tag_torso to the tag_head, and then a trace to the tag_weapon and tag_flag (if available)

Evaluate the floor on each point of these traces. If there's nothing below, or a slanted normal is returned, make a move. average all the points' result together and get the entity to move, as well as make angle differences on lower and upper and head

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions