Jump to content

Hisashimaru

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by Hisashimaru

  1. Particle's scale is not relative to the parent.

     

     

    Scene tree like this:

    Parent Model scale(2)

    Child Particle scale(1)

     

    In that case I think the child particle's global scale is 2, because that parent scale is 2.

    But child particle's scale looks is not 2, just scale looks 1.

    If you set the parent model's scale to 100, the child particle looks will not change.

     

     

    Sorry for my bad explanation.

    • Upvote 1
  2. Is this the terrain bug?

    Because the Raycast does't pick only terrain surface.

     

    I get a similar result, where it appears to fail to pick the terrain in places where there is obviously terrain. I had a quick look at your code and it appeared to be ok, I might have just used CameraPick to achieve the same though. Not sure what is going on here unless it is a bug.

    Thank you for check CameraPick's result.

     

     

    I don't know how the terrain system works. But on the off chance it uses Newton:

     

    What is the world size?

    Is the point on the terrain inside the world boundary?

    Does the raycast start inside the world boundary?

    Does the raycast end inside the world boundary?

     

    The first two of those are the most crucial, as only bodies inside the world can trigger the (hidden) "prefilter" and "process hit" callbacks.

    I used LinePick under those conditions. but result is same.

  3. sometimes LinePick function doesn't pick up a surface.

    I attached a LinePick demo, and please check that.

     

     

    this video is my LinePick behavior. sorry video is bad quality.

     

    thank you.

  4. Yeh that could work I guess. Might look a bit odd tho. Not sure. Player probably won't notice

     

    Either way judging by the picture you probably only need to increase it by a tiny bit to maybe 0.45.

     

    Alternatively you could just make his arm a tiny bit further back. Does seem like its sticking out a fair way further than it needs to be.

    I set the radius to 0.45. it's perfect size.

    Your another trick does work too. I use both methods.

     

    Thank you guys!

  5. Hi,

    I'm trying to draw a weapon model using HUD, but I have a problem.

    My weapon model goes through walls.

     

    like this:

    2rrx5ad.jpg

     

     

    If I clear the depth buffer before drawing the weapon model, the model doesn't go through walls,

    but this method can't use render lights because the depth buffer is already cleared.

     

    Any solutions to fix this problem?

  6. Yeah, デスクトップ is Desktop.

     

     

    Try to move your projet on root path like c:/mygame

    I think it's best way for now.

    I hope next Leadwerks does work for all computers.

     

     

    What is Blitz3D in Japanese - Google Translate doesn't know?

    ブリッツ3D

     

    Thank you for advice everyone.

  7. Leadwerks engine Doesn't work and it makes character change to other one on Japanese computer.

    Because Japanese computer using multibyte character.

     

    I want to load this file.

    c:\Document and Settings\user\デスクトップ\mygame\shader.pak

     

    But Leadwerks load this file.

    c:\Document and Settings\user\デベハトップ\mygame\shader.pak

     

    Does anybody knows how to fix this problem?

     

    thanks.

×
×
  • Create New...