|
| 27 Jun 2015 07:48 PM |
the brick below you?
I've tried raycasting and either I'm doing it wrong or that's not how it works... |
|
|
| Report Abuse |
|
|
Sevrick
|
  |
| Joined: 22 Oct 2013 |
| Total Posts: 3846 |
|
|
| 27 Jun 2015 08:25 PM |
| More info, better grammar pls. |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 08:36 PM |
so
say you jump and set the cframe @ the torso
i want it to be flat on the brick under my character qq |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 08:37 PM |
part.CFrame = hrp.CFrame * CFrame.new(0,-2.5,0) --hrp is HumanoidRootPart -- you might actully want to use torso on this one tho |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 27 Jun 2015 08:37 PM |
| can't you just CFrame the brick right under you based on your torso position? |
|
|
| Report Abuse |
|
|
|
| 27 Jun 2015 08:55 PM |
@Time
The torso moves because of animation and it will not always be a certain number to sit on the baseplate |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 27 Jun 2015 08:57 PM |
| Then cframe the brick based on one of the characters legs? |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 27 Jun 2015 08:59 PM |
| Couldn't you take the position value of the torso, and make the rotation nothing? If I understand you correctly? |
|
|
| Report Abuse |
|
|