jj_character_create function
- int world,
- Pointer<
JJ_CharacterSettings> settings, - Pointer<
Float> position
Makes a character with its feet at position (three floats). Returns 0 for a dead world, a layer out of range, a radius that is not above 0, or a negative halfHeight.
Implementation
@ffi.Native<
ffi.Int64 Function(
ffi.Int64,
ffi.Pointer<JJ_CharacterSettings>,
ffi.Pointer<ffi.Float>,
)
>()
external int jj_character_create(
int world,
ffi.Pointer<JJ_CharacterSettings> settings,
ffi.Pointer<ffi.Float> position,
);