|
| 31 Jan 2016 02:57 AM |
100% sure it has to do with this line:
Children[i].CFrame = CFrame.new((Model2:FindFirstChild(Children[i].Name).CFrame.p * Vector3.new(-1,1,1)),Children[i].Position + Model2:FindFirstChild(Children[i].Name).CFrame.lookVector * Vector3.new(-1,1,1))
Issue?
Well you see, this has been happening for days. Here's what happens when that code compiles with all the other stuff.
https://gyazo.com/df910f17e656302e7dea5407acf9ec9f |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 05:54 AM |
Try with this Children[i].CFrame = CFrame.new((Model2:FindFirstChild(Children[i].Name).CFrame.p * Vector3.new(1,1,1)),Children[i].Position + Model2:FindFirstChild(Children[i].Name).CFrame.lookVector * Vector3.new(1,1,1))
|
|
|
| Report Abuse |
|
|
|
| 01 Feb 2016 01:16 AM |
^ Did not work. Made it worse tbh, my character was merged with the clone. Lol. |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 01 Feb 2016 01:30 AM |
Mirrors are now possible :OOO
|
|
|
| Report Abuse |
|
|
|
| 01 Feb 2016 02:55 AM |
Not a REAL mirror, just some smoke and "mirrors" haahahhahaha get my joke it was corny
but seriously i need some help guys |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2016 03:09 AM |
| If they make real reflections possible then the secret of how they reflect things now wont matter |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Feb 2016 07:44 AM |
| ok but like would anyone please assist me in this omg |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Feb 2016 09:42 AM |
Idk, it's hard to see whats wrong.. xd
#code print('~Developer~') |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2016 10:01 AM |
I'll dissect it so it makes a bit more sense. The way the mirror works is it uses a clone and then reverses the clones position and then it's rotation. Position works just fine, now it's rotation that appears to be my issue.
The way I am doing this is with CFrame. I'm using the CFrame.new(Position,lookingPoint), both Vector3Values.
Don't mind the variables that seem awfully long, there is nothing wrong with them. I believe the section of code that seems to be failing is right here:
Children[i].CFrame = CFrame.new((Model2:FindFirstChild(Children[i].Name).CFrame.p * Vector3.new(-1,1,1)),Children[i].Position + Model2:FindFirstChild(Children[i].Name).CFrame.lookVector * Vector3.new(-1,1,1))
To be even more specific:
Children[i].Position + Model2:FindFirstChild(Children[i].Name).CFrame.lookVector * Vector3.new(-1,1,1)
Take a look at the gif I posted:
https://gyazo.com/df910f17e656302e7dea5407acf9ec9f
The lookingPoint is a the position of the ClonesPart + The current lookVector of the real part * Vector3.new(-1,1,1). If I try and make the -1 to anything else, the outcome is worse!
If you need even MORE info, please do ask. This issue has been killing me! |
|
|
| Report Abuse |
|
|
Gensoki
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 1982 |
|
|
| 28 Feb 2016 10:26 AM |
Just edit the arm position?
http://www.roblox.com/yess-item?id=374028241 #code "Oh, did I die again?" |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2016 10:45 AM |
| I don't think the CFraming is wrong... You see, you can't actually make a perfect mirror of something in roblox. Maybe if it's just parts, but here you're using meshes as well, and when you're irl lifting your right hand, it's actually your left hand in the mirror. I think the issue is that you should switch the mesh Id's. |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2016 10:49 AM |
If you give a mesh negative scale on one axis it will flip it inside out Negative on 2 will flip the mesh keeping it not inside out |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2016 11:06 AM |
Swapping meshes did help a bit, but again, I always knew it was a problem with the rotation.
The body parts do not rotate the way they are supposed to.
And it's not impossible to create a mirror, I've definitely seen it in more than one game, crystal clear, no errors at all.
https://gyazo.com/e290a53ab230fa7e179c60ee0fa98252
Result of swapping meshes.
At least it's an improvement! |
|
|
| Report Abuse |
|
|
|
| 28 Feb 2016 11:10 AM |
Has anyone seen the mirrors at that heist game? They are amazing. No clue how they work. They are crystal clear, completely flat, and can fall and still work, at any camera angle. |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2016 06:14 PM |
Maybe the question I should be asking is:
Does anyone have a better method of doing this? I'm trying to correct my method, but maybe it's just not the right way in the first place. |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2016 07:55 PM |
Here take this place its really laggy and hardly works but it reflects like youre talking about.
http://www.roblox.com/games/315304675/myactivetestplaces-Place-Number-32 |
|
|
| Report Abuse |
|
|