Jump to content

gutza1

Members
  • Posts

    6
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

gutza1's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Okay, the bullet now renders fine. However, the model spawns higher than the player.
  2. Okay, I've fixed the problem with the bullet model's starting position changing on pitch. Now all I have to fix is the bullet model being horizontal all the time.
  3. I've updated the OP to contain only the classes that are relevant.
  4. I do not want to do that. Plus, I think my problem is in the render class, which can be found in the github repo.
  5. It's for 1.7.10. Also, fixed up your grammar and spelling .
  6. Hello! This is my first post on the MC Forge forums. I am trying to make a mod. Part of that mod requires a gun. I have made a working gun that fires actual bullets. However, the bullets' model does not accurately display the bullet's position and pitch. Here are all the issues: 1. The bullet model's spawn position varies depending on the pitch that it is fired at. When I fire it downward, the bullet model spawns on my left, when when I fire it upward, the model spawns on my right. The y-position of the model is always in it's proper place. 2. The bullet model has no pitch. It is always is horizontal. Those are the only issues that I do not know how to solve (so only try to address those). Here is the code: EntityStdBullet.class (the entity itself): RenderStdBullet (the Renderer): ModelStdBullet.class (the model): I also have screenshots illustrating the problem: As you can see, when I am firing up (those yellow blotches are the bullets' models), the bullets' models spawn on the right as they should, but they have no pitch. However, when I fire downward (the bullet is in the far lower-left corner), the bullet's model spawns on the left. It still has no pitch.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.