Skip to content

McHorse info on TODO items #8

Open
@fadookie

Description

eliot said

I do actually have a few questions for you when you get a chance:

  1. Is it possible to play a particle targeted on a point or block instead of an entity? If not how hard do you think would this be to implement?
  2. Your PR said screw interpolation for now lol - is there a better way I should be handling this? https://github.com/fadookie/particleman/blob/master/src/main/java/com/example/examplemod/ModEventBus.java#L43

McHorse said

  1. From what it seems, you really need the entity only for shape aabb component, that's it, feel free to add setWorld method in BedrockEmitter, that just sets the world, and as far as I'm concerned, for spawning an emitter at given block requires just setting the (Vector3d) BedrockEmitter.lastGlobal and resetting (setting to identity 1 0 0 0 1 0 0 0 1) (Matrix4f) BedrockEmitter.rotation
  2. Oh, that was a joke comment, I just was implying that there is not real need for lerp(prevPosX, posX, partialTick) things for current example. You'll definitely will need to lerp that for any local position = true & local rotation = true particles.

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