Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flipping cloth? ScaleX == -1?
#13
(23-08-2019, 12:10 PM)cubrman Wrote: No I see the source of confusion: when I talk about flipping code I mean DE-flipping (putting the hierarchy into normal position, e.g. localScale.x == 1), when you talk about flipping, you mean actual flipping, e.g. setting localScale.x to -1. I now understand everything and will test this later today.

One thing bothers me though: I tried setting the model to localScale.x == 1 in my FixedUpdate, while ensuring that my FixedUpdate is called before yours (Script execution order) and then changing it to localScale.x == -1 both in my Update and in my LateUpdate (the cloth is set to simulate in FixedUpdate). What I ended up with was a character that was constantly flipping back and forth. Maybe that was my negligence - we will see.

Lucky you, I'm more confused now  Indeciso. Hope you got all the bits and pieces you need to make it work!. Let me know otherwise.
Reply


Messages In This Thread
Flipping cloth? ScaleX == -1? - by cubrman - 13-08-2019, 05:29 PM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 14-08-2019, 09:10 AM
RE: Flipping cloth? ScaleX == -1? - by cubrman - 14-08-2019, 11:11 AM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 14-08-2019, 12:19 PM
RE: Flipping cloth? ScaleX == -1? - by cubrman - 14-08-2019, 04:48 PM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 14-08-2019, 05:30 PM
RE: Flipping cloth? ScaleX == -1? - by cubrman - 22-08-2019, 06:13 PM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 23-08-2019, 07:17 AM
RE: Flipping cloth? ScaleX == -1? - by cubrman - 23-08-2019, 10:03 AM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 23-08-2019, 10:05 AM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 23-08-2019, 10:35 AM
RE: Flipping cloth? ScaleX == -1? - by cubrman - 23-08-2019, 12:10 PM
RE: Flipping cloth? ScaleX == -1? - by josemendez - 23-08-2019, 01:06 PM