Beefyrulz's Recent Forum Activity

  • You're rotating towards an offset to the players X,Y.

    What I think you wanted is to offset the rotation, not the position you're rotating towards.

    Try just 'Rotate towards positon; PlayerCollision.X, PlayerPlayerCollision.Y'

    Then just switch the sprite to the corresponding face of the 3D object.

    Assuming you want the 3DObject to directly face the player at all times.

    Actually in fact the Zombies should already be doing exactly what you're trying to achieve if I understand your intention correctly.

    Have a look at how those are setup in the template.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • Alrighty, that did the trick! Thank you very kindly.

  • For a project I'm working on, I want to set the Z Index relative to an objects Y position on screen. As an example, Object A is at (52,127), I want to essentially have an action run every tick to set this objects Z Index to 127. The effect I'd like to achieve with this is so that when say Object B is overlapping Object A but at a lower Y value, I want it to appear to be "further back" than Object A. In other words, I'm trying to achieve an illusion of Depth. Right now as a temporary workaround, I have a few of my objects set their Z Index relative to each other object with a command running every tick to compare two objects Y Values. This of course is very tedious and rather time consuming, and in fact a bit messy as I have a number of different objects that need to have their Z Index update constantly and I think it would just be easier to set their Z Index relative to their position on screen.

    It's probably worth noting that I'm a bit of a scrub when it comes to this kind of stuff so if there's a much easier way to do this, please let me know, otherwise any assistance is greatly appreciated.

Beefyrulz's avatar

Beefyrulz

Member since 26 Sep, 2014

None one is following Beefyrulz yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies