Jump to content

F.hao

Registered User
  • Content Count

    84
  • Joined

  • Last visited

Everything posted by F.hao

  1. When i use remove code to remove player's skill, i found it not work, player still could use the skill. I log all the skill belong player. console says the skill still here. So can you guys know this code is work good? Tomorrow I will send a video here for this problem.
  2. Hi guys, i got some test to understand this code. Then here is the answer: And i think those answer is not right. Base the equation:OT=OA+dt*(OB-OA) ; I learn it from here :https://docs.unity3d.com/ScriptReference/Vector3.Lerp.html So, for example, I count [0,0,0]to[0,90,90],and then t=0.5. I think the answer should be [0,45,45]; But like the picture before, the editor give me [19.471,45.000,45.000];and I really can't understand this. So what's wrong...
  3. But still, i think this rotation Lerp is not ok ,at [0,0,0]->[0,90,90]->t. I think the Xaxis value should always be 0. ------For the whole afternoon, i think this is not a easy problem for now.😅
  4. Oh my god, my mistake, i messed up Vector Lerp and Rotation Lerp🤣
  5. Like this, if the Raycast Line start mushroom's postion, to the direction(0,0,1), then there is nothing can be hit. So does this is a bug? Or maybe i want know why?
  6. Oh,Yes, for now i think raycast is work good. I think i make a misunderstanding. The point is: if the Begin position in another Object's body, then the raycast will ignore Object-self and keep going forward (before our test, i just thought it will hit Object-self). and @Igor Q. Everything is clear now. By the way ,i found this problem because i'm trying make a function to let my AI-bot move in the ground, and there is some Entity to block road. The origin idea is just...
  7. Hi Igor.Q Sorry for so late to reply. I test again and here is my .yland. The answer is same, if you can check it. RAYCASTSHOT.zip
  8. link here link there, maybe it's a bug.
  9. F.hao

    Event Listener. Game Update vs. Timer

    If i remember right, the Fix Update Event will keep running when game start, and can't stop. Sometimes it's not good. By the way, we can use Time delay command in the function callback, to simulate Time trigger.
  10. It's just like magic!!!😭😭😭 Thank you again!
  11. I can't running my game, and i don't know how to fix this strange problem😂.Maybe someone can tell me how to enable Full StackTrances?
  12. Hi Nikki, i just try to check which Combination made error at my Scenario, but i failed, i delete every father Combination, but still can't running my game. Then i save all thing as a Combination, and i create a new scenario, put it in, but still error.🤣
  13. @Nikki Severin Hi Nikki, do you knows how to enable this?
  14. F.hao

    Strange Qustion

    Hi Mello, i think it's not a code problem, this message not show in Debug bar, the left. Well I'm just edit many many Combination and Welding Entity with many many pixel or some another cube. And i delete some, In fact i don't know which step it's going wrong, when i running it, game just tell me that. But now everything is ok, game is running good. And the reason, i don't think i know.😂 I trying check every Combination by delete(first i save them to...
  15. Hi guys, what's this System Message? Once i running test my game, system show me this. and i 'm back to Editor scene. Never happen before,What could i do to fix this problem?
  16. F.hao

    Welding Lag

    Maybe waiting more time. Or reduce the count of pixel.😂
  17. F.hao

    SlowFollow animation

    Hi guys, here i have another problem.When i use the Follow code. i found it's can't quick move with the Target, even i fill a big number to Max speed. You can check it in the video. The model's head is the Target. body, arms, leg, and weapon follows. They can't move quick with head. There is always have a delay time. 【Problem 1】Most times it's okay, but when i bind the camera with the head, and the view it's very close to the head. Then you can see, the...
  18. F.hao

    SlowFollow animation

    😁😀😀 Consider there is still have many works, i choose this way.🤣🤣🤣, Although the most small Fov value is 30. Well, i think this sniper got a low quality scope.🤪
  19. F.hao

    SlowFollow animation

    @Igor Q. @Mello1223 @Oliver Hope Hi pals, this is the final(almost) effect, i have to welding the gun and two arms together,as a arm-gun,then i can rotate it. And there will no shaking when move and rotate. But in the same time, i can't simulate the shooting shaking by the gun(when shooting ,the gun will quick move backward and forward),because the gun and arm is bond and i set a Custom Controller on it. Also can't stimulate the reloading action, here...
  20. F.hao

    SlowFollow animation

    Hi Mello, i know there is some problem we can't speak clear by English. lol, my English is also not good. Well, in fact the direction aim work good. And the problem with camera, yeah, i think it's not easy to solve, so i just change another way to simulate the shooting game. I'll upload a new video to show you by few hours.
  21. F.hao

    SlowFollow animation

    Hi Igor Q,There is too mess. i can't split this part(Little busy now😭). And the note was written by Chinese words. Whatever, i just give up. i'll never do this again. Never put the camera too close with items that moving/rotating. ---Later i'll upload a video, that's the end ways。。。
  22. F.hao

    SlowFollow animation

    I‘m insane
  23. F.hao

    SlowFollow animation

    Not work good. The following items Still can't Synchronize move. God, i think i need find another way......
  24. F.hao

    SlowFollow animation

    Hey Oliver, thank you. For the shaking items, it's just because the model's arms and weapon keep aiming the point, and the point is follow the head. So you know, because the aim code also can't instant start so the arms rotate animation seem like Not Synchronize. And then in the view, it's looks like shaking... That's all, especially when the camera too close those items. Also about multiplayer, i'm testing it now. -----Oops.. I can't test it on server. Well, i close the...
  25. F.hao

    Abandoned Projects - Story + DLC

    The whole game seems really big.And, i'm old than you, only one year.lol?
×