generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Mirror Question

Previous Thread :: Next Thread 
ZerefSan is not online. ZerefSan
Joined: 14 Jun 2011
Total Posts: 1068
09 Feb 2014 06:30 PM
How are mirrors possible? What needs to be done to make one? I don't expect a whole code, just some stuff to help. I looked at the Wiki to no avail.
Report Abuse
ParamountGod is not online. ParamountGod
Joined: 09 May 2009
Total Posts: 10001
09 Feb 2014 06:37 PM
It pretty much requires algebra 1. You have to have the position of the mirror, and then You have to be able to find the angle to which it is slanted, to decide which side something is on. Then you have to clone the object on one side into the other.
Report Abuse
Solsticedev is not online. Solsticedev
Joined: 02 Feb 2014
Total Posts: 343
09 Feb 2014 07:22 PM
He doesn't mean like that. I believe the OP means a color reflection, which would simply require raycasting.
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
09 Feb 2014 07:37 PM
^ reflecting parts into a surfacegui. like a camera of sorts. not so easy
Report Abuse
BJCarpenter is online. BJCarpenter
Joined: 04 Nov 2008
Total Posts: 4416
10 Feb 2014 09:02 PM
Let's say, you want the surface of an Ice rink to look like a mirror:

Make the surface of the 'ice' Transparent.

Make the Top of the Skybox & the Bottom have the same Decal (probably the roof of an Arena)

Clone the Rink; flip it upside-down, Glue to the bottom of the rink.

For extra points Clone Player constantly; flip that and reverse it; glue to the bottom of the Player.U have a lot of coding ahead of you....
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
10 Feb 2014 09:04 PM
A SurfaceGui withs lots of frames and lots of RayCasting is prolly the most accurate.
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
10 Feb 2014 09:13 PM
How would the raycasting work?
Report Abuse
Bebee2 is not online. Bebee2
Joined: 17 May 2009
Total Posts: 3985
10 Feb 2014 09:21 PM
Ray cast the ray to the side you want the reflection on. If apart is found, set the backgroundcolor3 to the parts brickcolor.color. If a part is not found, make the frame invisible.



You gotta update it real time and lots of times.
Report Abuse
call23re is not online. call23re
Joined: 11 Nov 2010
Total Posts: 9070
10 Feb 2014 09:25 PM
You mean like a working mirror for players to see items moving around on the mirror when they move them? I think that involves math. You an ask my friend he's currently creating one.

http://web.roblox.com/The-Mirror-place?id=31992503


-"The wise never quote."
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Feb 2014 12:20 AM
lol that's not a real mirror
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
11 Feb 2014 06:06 AM
use region3
Report Abuse
lolb3 is not online. lolb3
Joined: 16 Jan 2010
Total Posts: 2268
11 Feb 2014 08:36 AM
i can't see myself in his mirror
am i a vampire
Report Abuse
sycips is not online. sycips
Joined: 21 Mar 2011
Total Posts: 1368
11 Feb 2014 09:11 AM
Mirrors aren't possible... Mirrorlike is possible, but it will never work perfectly like a real mirror...
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
11 Feb 2014 09:55 AM
If you guys didn't notice, that's not a real mirror; he put a box around the map and a transparent block, using objectspace to make things on one side exactly on the other (which is easy). 3D mirrors are much easier than 2D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image